Skip to content

Commit 33ce3a2

Browse files
committed
move default sql files
1 parent 66b3519 commit 33ce3a2

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed
File renamed without changes.

index.sql renamed to src/index.sql

File renamed without changes.

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,13 @@ impl AppState {
119119
let file_system = FileSystem::init(&config.web_root, &db).await;
120120
sql_file_cache.add_static(
121121
PathBuf::from("index.sql"),
122-
ParsedSqlFile::new(&db, include_str!("../index.sql"), Path::new("index.sql")),
122+
ParsedSqlFile::new(&db, include_str!("index.sql"), Path::new("index.sql")),
123123
);
124124
sql_file_cache.add_static(
125125
PathBuf::from(DEFAULT_404_FILE),
126126
ParsedSqlFile::new(
127127
&db,
128-
include_str!("../default_404.sql"),
128+
include_str!("default_404.sql"),
129129
Path::new(DEFAULT_404_FILE),
130130
),
131131
);

0 commit comments

Comments
 (0)