mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-05-21 14:46:29 -04:00
Add traefik middleware for phantom-tokens
This commit is contained in:
+1
-1
@@ -46,7 +46,7 @@ export const base = new Elysia({ name: "base" })
|
||||
})
|
||||
.as("plugin");
|
||||
|
||||
export const app = new Elysia()
|
||||
export const app = new Elysia({ prefix: process.env.KYOO_PREFIX })
|
||||
.use(base)
|
||||
.use(showsH)
|
||||
.use(movies)
|
||||
|
||||
+1
-1
@@ -77,6 +77,6 @@ app
|
||||
},
|
||||
}),
|
||||
)
|
||||
.listen(3000);
|
||||
.listen(3567);
|
||||
|
||||
console.log(`Api running at ${app.server?.hostname}:${app.server?.port}`);
|
||||
|
||||
Reference in New Issue
Block a user