Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd1712e3

Browse files
authored
Fix assets path (#699)
1 parent7350594 commitd1712e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎pgml-dashboard/src/utils/config.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ pub fn css_url() -> String {
7373
let path =format!("/dashboard/static/css/{filename}");
7474

7575
matchvar("ASSETS_DOMAIN"){
76-
Ok(domain) =>format!("https://{domain}/{path}"),
76+
Ok(domain) =>format!("https://{domain}{path}"),
7777
Err(_) => path,
7878
}
7979
}
@@ -95,7 +95,7 @@ pub fn js_url(name: &str) -> String {
9595
let path =format!("/dashboard/static/js/{name}");
9696

9797
matchvar("ASSETS_DOMAIN"){
98-
Ok(domain) =>format!("https://{domain}/{path}"),
98+
Ok(domain) =>format!("https://{domain}{path}"),
9999
Err(_) => path,
100100
}
101101
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp