fix: typo __ASSERTS_PREFIX__ (#252)

This commit is contained in:
sigoden
2023-08-13 15:05:45 +08:00
committed by GitHub
parent 9b3779b13a
commit 7f83de765a
4 changed files with 7 additions and 7 deletions

View File

@@ -58,7 +58,7 @@ pub fn tmpdir() -> TempDir {
if *directory == DIR_ASSETS {
tmpdir
.child(format!("{}{}", directory, "index.html"))
.write_str("__ASSERTS_PREFIX__index.js;DATA = __INDEX_DATA__")
.write_str("__ASSETS_PREFIX__index.js;DATA = __INDEX_DATA__")
.unwrap();
} else {
for file in FILES {