mirror of
https://github.com/bartvdbraak/omnidash.git
synced 2025-04-26 15:01:20 +00:00
fix: parsing issue in server.js
This commit is contained in:
parent
8378c58d3c
commit
a671ef73ab
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
import { MSID_ASSOCIATION } from '$env/static/private';
|
||||
|
||||
export async function GET() {
|
||||
return new Response(JSON.stringify(MSID_ASSOCIATION), {
|
||||
return new Response(JSON.stringify(JSON.parse(MSID_ASSOCIATION)), {
|
||||
headers: {
|
||||
'Cache-Control': `public, max-age=${86400}`,
|
||||
'Content-Type': 'application/json'
|
||||
|
|
Loading…
Reference in a new issue