mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 07:46:21 +00:00
fix: no permitir que htmx haga peticiones fuera del panel
This commit is contained in:
parent
ee459b2d4e
commit
7dbe12ed66
1 changed files with 1 additions and 0 deletions
|
@ -42,3 +42,4 @@ Turbolinks.start()
|
||||||
ActiveStorage.start()
|
ActiveStorage.start()
|
||||||
|
|
||||||
window.htmx = require('htmx.org/dist/htmx.js')
|
window.htmx = require('htmx.org/dist/htmx.js')
|
||||||
|
window.htmx.config.selfRequestsOnly = true;
|
||||||
|
|
Loading…
Reference in a new issue