mirror of
https://codeberg.org/insects/cargo-spiel
synced 2025-05-24 02:53:41 +00:00
fix: properly include public/
in published crate
This commit is contained in:
parent
dc85a393cf
commit
a7907c8a37
4 changed files with 6 additions and 4 deletions
|
@ -17,7 +17,7 @@ use axum::{
|
|||
use include_dir::{Dir, include_dir};
|
||||
use serde::Serialize;
|
||||
|
||||
static PUBLIC_DIR: Dir<'_> = include_dir!("$PWD/public");
|
||||
static PUBLIC_DIR: Dir<'_> = include_dir!("$CARGO_MANIFEST_DIR/public");
|
||||
|
||||
#[derive(Serialize)]
|
||||
struct OutputResponse {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue