mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-07-14 20:48:12 -07:00
server: add symlink to website
This commit is contained in:
@@ -7,6 +7,7 @@ license.workspace = true
|
||||
homepage.workspace = true
|
||||
repository.workspace = true
|
||||
build = "build.rs"
|
||||
include = ["src/**/*", "website/**/*", "examples/**/*", "build.rs", "Cargo.toml", "README.md"]
|
||||
|
||||
[dependencies]
|
||||
aide = { workspace = true }
|
||||
|
||||
@@ -22,7 +22,7 @@ use tower_http::{compression::CompressionLayer, trace::TraceLayer};
|
||||
use tracing::{error, info};
|
||||
|
||||
/// Embedded website assets
|
||||
pub static EMBEDDED_WEBSITE: Dir = include_dir!("$CARGO_MANIFEST_DIR/../../website");
|
||||
pub static EMBEDDED_WEBSITE: Dir = include_dir!("$CARGO_MANIFEST_DIR/website");
|
||||
|
||||
/// Source for serving the website
|
||||
#[derive(Debug, Clone)]
|
||||
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../website
|
||||
Reference in New Issue
Block a user