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 19416a8 commit 0e00e20Copy full SHA for 0e00e20
src/web/file.rs
@@ -76,7 +76,9 @@ impl Handler for DatabaseFileHandler {
76
}
77
// rustdoc javascripts have rustdoc prefix in database
78
// FIXME: this is kinda lame I have to save all javascripts with rustdoc prefix
79
- if path.ends_with(".js") {
+ // FIXME: this code became more retarded than before
80
+ if path.ends_with(".js") && !path.starts_with("main-") &&
81
+ !path.starts_with("jquery-") && !path.starts_with("playpen-") {
82
format!("rustdoc/{}", path)
83
} else {
84
path
0 commit comments