5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 04:06:21 +00:00

fix: no permitir que htmx haga peticiones fuera del panel

This commit is contained in:
f 2024-05-17 15:07:22 -03:00
parent ee459b2d4e
commit 7dbe12ed66
No known key found for this signature in database

View file

@ -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;