From 5ccb1fb7d11718ab1a6f9d575ce9178f8829b990 Mon Sep 17 00:00:00 2001 From: kittentm Date: Fri, 24 Jul 2026 20:56:01 +0200 Subject: [PATCH] add service agreement --- app/pages/docs/policy/[id].vue | 1 + server/api/policies.ts | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/pages/docs/policy/[id].vue b/app/pages/docs/policy/[id].vue index 2683d11..dc50bf1 100644 --- a/app/pages/docs/policy/[id].vue +++ b/app/pages/docs/policy/[id].vue @@ -83,6 +83,7 @@ const loadPolicyData = async (id: string) => { if (id === 'general') markdownPath = '/policy/GENERAL-NETWORK-RULES.md' else if (id === 'conduct') markdownPath = '/policy/CODE_OF_CONDUCT.md' else if (id === 'privacy') markdownPath = '/policy/PRIVACY-POLICY.md' + else if (id === 'service') markdownPath = '/policy/serviceagreement.txt' else { markdownPath = `/policy/game-rules/${id}/rule.md` metadataPath = `/policy/game-rules/${id}/metadata.json` diff --git a/server/api/policies.ts b/server/api/policies.ts index 5b53fcb..ffd589c 100644 --- a/server/api/policies.ts +++ b/server/api/policies.ts @@ -7,7 +7,8 @@ export default defineEventHandler(async () => { const baseRules = [ { id: 'general', name: 'General Rules' }, { id: 'conduct', name: 'Code of Conduct' }, - { id: 'privacy', name: 'Privacy Policy' } + { id: 'privacy', name: 'Privacy Policy' }, + { id: 'service', name: 'Network Service Agreement' } ] const games: Array<{ id: string, name: string, version: string }> = []