mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(rules): use hash links for directory deep links
Switch rules navigation from /rules/:code paths to /rules#code hashes, reject legacy subpaths, and ignore address hashes in markdown links.
This commit is contained in:
+2
-1
@@ -292,7 +292,8 @@ const App = () => {
|
||||
<Route path='/' element={<Home />} />
|
||||
<Route path='/faq' element={<Faq />} />
|
||||
<Route path='/pass' element={<Pass />} />
|
||||
<Route path='/rules/:boardIdentifier?' element={<Rules />} />
|
||||
<Route path='/rules' element={<Rules />} />
|
||||
<Route path='/rules/*' element={<Navigate to='/not-found' replace />} />
|
||||
<Route path='/blotter' element={<Blotter />} />
|
||||
<Route
|
||||
path='/settings/account-data'
|
||||
|
||||
Reference in New Issue
Block a user