Content-Length: 297379 | pFad | http://github.com/postgresml/postgresml/commit/8920e8115091402f2b051c16b780800b1eccaea6

63 quick fix (#1305) · postgresml/postgresml@8920e81 · GitHub
Skip to content

Commit 8920e81

Browse files
quick fix (#1305)
1 parent 744209c commit 8920e81

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

pgml-dashboard/src/utils/config.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -146,11 +146,7 @@ pub fn asset_url(path: Cow<str>) -> String {
146146
}
147147

148148
pub fn site_domain() -> String {
149-
if CONFIG.dev_mode {
150-
String::from("https://localhost")
151-
} else {
152-
String::from("https://postgresml.org")
153-
}
149+
String::from("https://postgresml.org")
154150
}
155151

156152
fn env_is_set(name: &str) -> bool {

pgml-dashboard/src/utils/markdown.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,6 @@ pub fn mkdocs<'a>(root: &'a AstNode<'a>, arena: &'a Arena<AstNode<'a>>) -> anyho
798798
match &mut node.data.borrow_mut().value {
799799
// Strip .md extensions that gitbook includes in page link urls.
800800
&mut NodeValue::Link(ref mut link) => {
801-
let path = Path::new(link.url.as_str());
802801
let url = Url::parse(link.url.as_str());
803802

804803
// Ignore absolute urls that are not site domain, github has .md endpoints

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgresml/postgresml/commit/8920e8115091402f2b051c16b780800b1eccaea6

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy