BaseURL configuration variable generalization

This commit is contained in:
2022-03-25 15:11:29 +01:00
parent 41748363d1
commit 33dbb6ea47
9 changed files with 51 additions and 40 deletions

View File

@ -7,7 +7,7 @@
<title>{{block "title" . -}}{{- end}}</title>
{{- block "head_style" . -}}
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.8.0/css/bulma.min.css" />
<link rel="stylesheet" href="/css/style.css" />
<link rel="stylesheet" href="{{ .BaseURL }}/css/style.css" />
{{end}}
{{- block "head_script" . -}}{{end}}
</head>

View File

@ -13,7 +13,7 @@
Autorisez vous l'application à utiliser ces informations vous concernant ?
</p>
<div class="box">
<form action="/consent" method="POST">
<form action="{{ .BaseURL }}/consent" method="POST">
{{range .RequestedScope}}
<div class="">
<label class="checkbox">

View File

@ -13,7 +13,7 @@
Veuillez entrer votre adresse courriel.
</p>
<div class="box">
<form action="/login" method="POST">
<form action="{{ .BaseURL }}/login" method="POST">
<div class="field">
<div class="control">
<input class="input is-large" type="email"