Restore PROMPT branding, rename waterfall-wiki, and add system tag workflows
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
import type {GetServerSideProps} from 'next';
|
||||
import {getGuidance} from '@/content/skills/guidance';
|
||||
import {guidanceUrl} from '@/content/page-links';
|
||||
export default function Legacy(){return null;}
|
||||
export const getServerSideProps:GetServerSideProps=async({params,query})=>{const parts=params?.path;if(parts===undefined)return {redirect:{destination:'/categories',permanent:false}};const path=Array.isArray(parts)?parts.join('/'):String(parts);return getGuidance(path)?{redirect:{destination:guidanceUrl(path)+(String(query.agent_mode||'').toLowerCase()==='true'?'?agent_mode=True':''),permanent:true}}:{notFound:true};};
|
||||
Reference in New Issue
Block a user