feat
Desc: - Fitur config untuk error pada server di bagian .env PWD - Fitur home dan tampilan menu
This commit is contained in:
@@ -9,6 +9,9 @@ import fs from "fs";
|
||||
import yaml from "yaml";
|
||||
const config = yaml.parse(fs.readFileSync("config.yaml").toString());
|
||||
|
||||
/**
|
||||
* @returns token(id and username)
|
||||
*/
|
||||
export async function getToken() {
|
||||
const c = cookies().get("ssn");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user