diff --git a/src/server/index.ts b/src/server/index.ts
index 6a4f961..07dffa7 100644
--- a/src/server/index.ts
+++ b/src/server/index.ts
@@ -106,7 +106,7 @@ app.get("/download/:fileId",(req,res) => {
if (files.getFilePointer(req.params.fileId)) {
let file = files.getFilePointer(req.params.fileId)
- fs.readFile(__dirname+"/../pages/download.html",(err,buf) => {
+ fs.readFile(process.cwd()+"/pages/download.html",(err,buf) => {
if (err) {res.sendStatus(500);console.log(err);return}
res.send(
buf.toString()
diff --git a/src/style/downloads.scss b/src/style/downloads.scss
new file mode 100644
index 0000000..c1c88b5
--- /dev/null
+++ b/src/style/downloads.scss
@@ -0,0 +1,11 @@
+// probably dont need to import the entire
+// uploads css file
+// so i might just make a separate file with mixins
+// and import them
+
+@use "app/uploads";
+@use "base";
+
+body {
+ background-color: base.$Background;
+}
\ No newline at end of file