QC Profile

# fix bug
- Kapasitas foto profile
- Kapasistas gambar background
- Cek email invalid
- Server action untuk profile (tidak menggunakan API lagi)
### No Issuee
This commit is contained in:
2024-03-12 10:16:04 +08:00
parent 629fd601d4
commit 7baceafa80
37 changed files with 679 additions and 321 deletions

View File

@@ -10,7 +10,7 @@ const config = yaml.parse(fs.readFileSync("config.yaml").toString());
export async function User_getUserId() {
const c = cookies().get("ssn");
if (!c?.value) return redirect(RouterAuth.login);
if (!c?.value || c.value === "") return redirect(RouterAuth.login);
const token = JSON.parse(