mirror of
https://github.com/zyllian/webdog.git
synced 2025-05-09 18:16:40 -07:00
move webdog js to a subfolder
This commit is contained in:
parent
c06e78a5d0
commit
5d07b2c227
2 changed files with 2 additions and 1 deletions
|
@ -270,7 +270,8 @@ impl Site {
|
|||
.expect("Failed to decode URL");
|
||||
|
||||
if p == "_dev.js" {
|
||||
let res = Response::new(include_str!("./refresh_websocket.js").into());
|
||||
let res =
|
||||
Response::new(include_str!("./js/refresh_websocket.js").into());
|
||||
return Ok(res);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue