mirror of
https://github.com/spacebarchat/server.git
synced 2026-08-29 07:39:00 +00:00
API: expose assets/logo.png
This commit is contained in:
@@ -145,6 +145,11 @@ export class SpacebarServer extends Server {
|
||||
return res.sendFile(path.join(PUBLIC_ASSETS_FOLDER, "index.html"));
|
||||
});
|
||||
|
||||
app.get("/static/logo.png", (req, res) => {
|
||||
res.set("Cache-Control", "public, max-age=21600");
|
||||
return res.sendFile(path.join(ASSETS_FOLDER, "logo.png"));
|
||||
});
|
||||
|
||||
app.get("/verify-email", (req, res) => {
|
||||
res.set("Cache-Control", "public, max-age=21600");
|
||||
return res.sendFile(path.join(PUBLIC_ASSETS_FOLDER, "verify.html"));
|
||||
|
||||
Reference in New Issue
Block a user