mirror of
https://github.com/System-End/scraps.git
synced 2026-04-19 19:45:14 +00:00
conf
This commit is contained in:
parent
b3c6c241a3
commit
1fa613f488
2 changed files with 3 additions and 2 deletions
|
|
@ -3,7 +3,8 @@
|
|||
"version": "1.0.50",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"dev": "bun run --watch src/index.ts"
|
||||
"dev": "bun run --watch src/index.ts",
|
||||
"start": "bun run src/index.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@elysiajs/cors": "^1.4.1",
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import hackatime from './routes/hackatime'
|
|||
import upload from './routes/upload'
|
||||
import admin from './routes/admin'
|
||||
|
||||
const api = new Elysia({ prefix: '/api' })
|
||||
const api = new Elysia()
|
||||
.use(authRoutes)
|
||||
.use(projects)
|
||||
.use(news)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue