We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a24b69b commit cb9aaccCopy full SHA for cb9aacc
src/webserver/routing.rs
@@ -119,7 +119,10 @@ where
119
path.push(INDEX);
120
match find_file_or_not_found(&path, SQL_EXTENSION, store).await {
121
Ok(NotFound) => {
122
- let target_sql = path.parent().unwrap_or_else(|| Path::new("/")).join("_.sql");
+ let target_sql = path
123
+ .parent()
124
+ .unwrap_or_else(|| Path::new("/"))
125
+ .join("_.sql");
126
if store.contains(&target_sql).await? {
127
Ok(Execute(target_sql))
128
} else {
0 commit comments