mirror of
https://github.com/PrivateCaptcha/PrivateCaptcha.git
synced 2026-02-14 01:39:10 -06:00
Cosmetic improvements
This commit is contained in:
@@ -131,7 +131,7 @@ func Redirect(url string, code int, w http.ResponseWriter, r *http.Request) {
|
||||
} else {
|
||||
slog.Log(r.Context(), LevelTrace, "Redirecting using location header", "url", url)
|
||||
w.Header().Set("Location", url)
|
||||
http.Redirect(w, r, url, http.StatusSeeOther)
|
||||
http.Redirect(w, r, url, code)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
hx-on::config-request="event.detail.path += '/'+this.value"
|
||||
hx-swap="innerHTML">
|
||||
<option value="{{ $.Const.DashboardEndpoint }}">Properties</option>
|
||||
<option value="{{ $.Const.SettingsEndpoint }}" selected>Members</option>
|
||||
<option value="{{ $.Const.MembersEndpoint }}" selected>Members</option>
|
||||
<option value="{{ $.Const.SettingsEndpoint }}">Settings</option>
|
||||
<option value="{{ $.Const.EventsEndpoint }}">Audit logs</option>
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user