3Dbelte in gitea

This commit is contained in:
titusvermesan
2024-11-27 11:12:22 +01:00
parent 6165587bbd
commit bba5b8e106
22 changed files with 3191 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
import { json } from '@sveltejs/kit';
import jwt from "jsonwebtoken";
export async function POST() {
const token = await jwt.sign({
id: 'sample-id',
secret: 'secret'
},"shhhhh");
return json({ token });
}