add service agreement
All checks were successful
ci / ci (22, debian-trixie) (push) Successful in 28s

This commit is contained in:
kittentm 2026-07-24 20:56:01 +02:00
commit 5ccb1fb7d1
Signed by: kitten
GPG key ID: 394B4EABE4405A83
2 changed files with 3 additions and 1 deletions

View file

@ -83,6 +83,7 @@ const loadPolicyData = async (id: string) => {
if (id === 'general') markdownPath = '/policy/GENERAL-NETWORK-RULES.md' if (id === 'general') markdownPath = '/policy/GENERAL-NETWORK-RULES.md'
else if (id === 'conduct') markdownPath = '/policy/CODE_OF_CONDUCT.md' else if (id === 'conduct') markdownPath = '/policy/CODE_OF_CONDUCT.md'
else if (id === 'privacy') markdownPath = '/policy/PRIVACY-POLICY.md' else if (id === 'privacy') markdownPath = '/policy/PRIVACY-POLICY.md'
else if (id === 'service') markdownPath = '/policy/serviceagreement.txt'
else { else {
markdownPath = `/policy/game-rules/${id}/rule.md` markdownPath = `/policy/game-rules/${id}/rule.md`
metadataPath = `/policy/game-rules/${id}/metadata.json` metadataPath = `/policy/game-rules/${id}/metadata.json`

View file

@ -7,7 +7,8 @@ export default defineEventHandler(async () => {
const baseRules = [ const baseRules = [
{ id: 'general', name: 'General Rules' }, { id: 'general', name: 'General Rules' },
{ id: 'conduct', name: 'Code of Conduct' }, { 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 }> = [] const games: Array<{ id: string, name: string, version: string }> = []