mirror of
https://github.com/bartvdbraak/omnidash.git
synced 2025-04-26 15:01:20 +00:00
feat: add well-know path for msid associated
This commit is contained in:
parent
d16c60babd
commit
b1d8df5ebe
2 changed files with 12 additions and 0 deletions
|
@ -1,2 +1,4 @@
|
|||
SERVER_PB="http://localhost:8090"
|
||||
PUBLIC_CLIENT_PB="http://127.0.0.1:8090"
|
||||
PUBLIC_MSID_ASSOCIATION="{}"
|
||||
PUBLIC_PLAUSIBLE_DOMAIN="plausible.example.com"
|
|
@ -0,0 +1,10 @@
|
|||
import { MSID_ASSOCIATION } from '$env/static/private';
|
||||
|
||||
export async function GET() {
|
||||
return new Response(JSON.stringify(MSID_ASSOCIATION), {
|
||||
headers: {
|
||||
'Cache-Control': `public, max-age=${86400}`,
|
||||
'Content-Type': 'application/json'
|
||||
}
|
||||
});
|
||||
}
|
Loading…
Reference in a new issue