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 }> = []