This commit is contained in:
2025-01-06 10:44:04 +08:00
parent a97bb5f732
commit 87f4420896
5 changed files with 22 additions and 7 deletions

View File

@@ -11,6 +11,19 @@ createAuthRoute({
secret: config.tokenSecret,
});
app
.route({
path: 'auth',
key: 'admin',
id: 'auth-admin',
})
.define(async (ctx) => {
// ctx.body = 'admin';
const token = ctx.query?.token;
//
})
.addTo(app);
// app.importApp(adminApp);
// appendTo(app);