Skip to content

Commit

Permalink
styles(prettier/lint)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kathund committed Feb 6, 2024
1 parent 63ee898 commit 76dd2cc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
4 changes: 1 addition & 3 deletions src/endpoints/raw.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { Application, Request, Response } from 'express';
import { apiMessage, errorMessage } from '../logger';
import { existsSync, mkdirSync, statSync } from 'fs';
import { existsSync, mkdirSync } from 'fs';
import { resolve, dirname } from 'path';
import { getFileSize } from '../functions';

export default (app: Application) => {
app.get('/raw/:name', async (req: Request, res: Response) => {
Expand All @@ -27,7 +26,6 @@ export default (app: Application) => {
return res.sendFile(filePath);
} catch (err) {
errorMessage(err as string);
console.log(err);
return res.status(500).send({ success: false, message: 'Internal server error' });
}
});
Expand Down
9 changes: 4 additions & 5 deletions src/public/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

body {
font-family: 'Inter', sans-serif;
background-color: #DCDCDC;
background-color: #dcdcdc;
color: #343434;
font-size: 24;
height: 100vh;
Expand All @@ -31,14 +31,13 @@ img {
text-align: center;
margin: 0 auto;
padding: 20px;
background-color: #BFB9B9;
background-color: #bfb9b9;
}


@media (prefers-color-scheme: dark) {
body {
background-color: #464646;
color: #DCDCDC;
color: #dcdcdc;
}

.text {
Expand Down Expand Up @@ -70,4 +69,4 @@ img {

.tooltip:hover .tooltiptext {
visibility: visible;
}
}

0 comments on commit 76dd2cc

Please sign in to comment.