feat/dossiers-ngi: dated tip/at bar keeps caller path on edition switch
This commit is contained in:
parent
197e0ab19a
commit
37ac6a2171
10 changed files with 303 additions and 7 deletions
|
|
@ -19,7 +19,10 @@
|
|||
handle @use {
|
||||
header Set-Cookie "tdpd_edition={re.use.1}; Path=/; Max-Age=31536000; SameSite=Lax"
|
||||
header Cache-Control "private, no-store"
|
||||
redir * / 302
|
||||
# Keep the caller's path (?next=). Never bounce to /. No next → bar page.
|
||||
@next query_regexp next ^(/|/[^/].*)$
|
||||
redir @next {query.next} 302
|
||||
redir * /_cascade/ 302
|
||||
}
|
||||
|
||||
handle /_cascade/* {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue