mirror of
https://github.com/multipleof4/sune.git
synced 2026-01-14 16:47:59 +00:00
Update assetlinks.json.js
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
export const onRequestGet = async () => {
|
export const onRequestGet = async () => {
|
||||||
const url = "https://raw.githubusercontent.com/OWNER/REPO/BRANCH/.well-known/assetlinks.json";
|
const url = "https://raw.githubusercontent.com/multipleof4/sune/master/public/.well-known/assetlinks.json";
|
||||||
const r = await fetch(url, { cf: { cacheTtl: 0, cacheEverything: false } });
|
const r = await fetch(url, { cf: { cacheTtl: 0, cacheEverything: false } });
|
||||||
if (!r.ok) return new Response("not found", { status: 404 });
|
if (!r.ok) return new Response("not found", { status: 404 });
|
||||||
const body = await r.text();
|
const body = await r.text();
|
||||||
|
|||||||
Reference in New Issue
Block a user