mirror of
https://codeberg.org/insects/cargo-spiel
synced 2025-05-23 18:43:42 +00:00
fix: use $PWD for include_dir!
This commit is contained in:
parent
a8c5e55998
commit
ef872ec748
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ use axum::{
|
|||
use include_dir::{Dir, include_dir};
|
||||
use serde::Serialize;
|
||||
|
||||
static PUBLIC_DIR: Dir<'_> = include_dir!("$CARGO_MANIFEST_DIR/public");
|
||||
static PUBLIC_DIR: Dir<'_> = include_dir!("$PWD/public");
|
||||
|
||||
#[derive(Serialize)]
|
||||
struct OutputResponse {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue