mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-19 17:55:17 -04:00
added redirector component (#199)
* added redirector component * it will redirect every request to /$something that is not handled otherwise (/intro, /login and such) to /n/$something * added getNote API Call * added NotFound component * added LandingLayout around the NotFound component, so users can easily navigate away from the component Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
773fc60f07
commit
c679f5524c
5 changed files with 85 additions and 0 deletions
14
public/api/v2/notes/old
Normal file
14
public/api/v2/notes/old
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"id": "ABC123",
|
||||
"alias": "old",
|
||||
"lastChange": {
|
||||
"userId": "snskxnksnxksnxksnx",
|
||||
"username": "testy",
|
||||
"timestamp": 123456789
|
||||
},
|
||||
"viewcount": 0,
|
||||
"createtime": "2020-05-22T20:46:08.962Z",
|
||||
"content": "test123",
|
||||
"authorship": [],
|
||||
"preVersionTwoNote": true
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue