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 35168ac commit cd98bc6Copy full SHA for cd98bc6
src/webserver/routing.rs
@@ -118,7 +118,10 @@ where
118
if path_and_query.path().ends_with(FORWARD_SLASH) {
119
path.push(INDEX);
120
if let Ok(NotFound) = find_file_or_not_found(&path, SQL_EXTENSION, store).await {
121
- let target_sql = path.parent().unwrap_or_else(|| Path::new("/")).join("_.sql");
+ let target_sql = path
122
+ .parent()
123
+ .unwrap_or_else(|| Path::new("/"))
124
+ .join("_.sql");
125
if store.contains(&target_sql).await? {
126
Ok(Execute(target_sql))
127
} else {
test/models/_.sql
0 commit comments