Compare commits
1 Commits
8f5bcada00
...
612001e570
Author | SHA1 | Date |
---|---|---|
Aravinth Manivannan | 612001e570 |
|
@ -133,7 +133,7 @@ const INDEX: &str = include_str!("../templates/index.html");
|
|||
async fn index() -> impl Responder {
|
||||
HttpResponse::Ok()
|
||||
.content_type("text/html; charset=utf-8")
|
||||
.body(INDEX)
|
||||
.body(INDEX.replace("SOURCE_CODE_REPLACE", &crate::SETTINGS.source_code))
|
||||
}
|
||||
|
||||
#[actix_web_codegen_const_routes::get(path = "crate::V1_API_ROUTES.proxy.asset")]
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
href="/@tylerneely/fear-and-loathing-in-lock-free-programming-7158b1cdd50c"
|
||||
>Demo Article</a
|
||||
>
|
||||
| <a href="https://github.com/realaravinth/libmedium">Source Code</a>
|
||||
| <a href="SOURCE_CODE_REPLACE">Source Code</a>
|
||||
</p>
|
||||
</div>
|
||||
</main>
|
||||
|
|
Loading…
Reference in New Issue