This commit is contained in:
Mylloon 2023-02-09 00:10:21 +01:00
parent 830d61f28c
commit 61badd7e08
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -30,7 +30,7 @@ async fn main() -> io::Result<()> {
let dist_folder = "dist";
// The static folder is minimized only in release mode
let folder = if !cfg!(debug_assertions) {
let folder = if cfg!(debug_assertions) {
format!("{static_folder}/")
} else {
let cfg = Cfg::new();