Enable KeyStatic CMS for production
Changes: - Added Netlify adapter for server-side rendering - Changed output mode from static to server - Updated KeyStatic storage from local to GitHub - Removed SKIP_KEYSTATIC from Netlify build - KeyStatic Admin UI will be available at /keystatic Features: - Server-side rendering with Netlify Functions - GitHub integration for content management - Production-ready KeyStatic Admin UI Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
export { renderers } from '../../renderers.mjs';
|
||||
|
||||
async function GET() {
|
||||
const repeaters = [
|
||||
{
|
||||
id: "YM1KTC",
|
||||
name: "İstanbul Röle",
|
||||
frequency: "439.4125+",
|
||||
offset: "+7.6",
|
||||
tone: "88.5",
|
||||
colorCode: "1",
|
||||
status: "online",
|
||||
lastheard: (/* @__PURE__ */ new Date()).toISOString()
|
||||
},
|
||||
{
|
||||
id: "YM2KTR",
|
||||
name: "Ankara Röle",
|
||||
frequency: "439.4750-",
|
||||
offset: "-5.0",
|
||||
tone: "88.5",
|
||||
colorCode: "1",
|
||||
status: "online",
|
||||
lastheard: new Date(Date.now() - 36e5).toISOString()
|
||||
},
|
||||
{
|
||||
id: "YM3KTC",
|
||||
name: "İzmir Röle",
|
||||
frequency: "439.5500+",
|
||||
offset: "+7.6",
|
||||
tone: "88.5",
|
||||
colorCode: "1",
|
||||
status: "offline",
|
||||
lastheard: new Date(Date.now() - 864e5).toISOString()
|
||||
}
|
||||
];
|
||||
return Response.json(repeaters);
|
||||
}
|
||||
|
||||
const _page = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
||||
__proto__: null,
|
||||
GET
|
||||
}, Symbol.toStringTag, { value: 'Module' }));
|
||||
|
||||
const page = () => _page;
|
||||
|
||||
export { page };
|
||||
Reference in New Issue
Block a user