fix: use tmp dir for keychain file
All checks were successful
gitea-sync/antos-backend/pipeline/head This commit looks good

This commit is contained in:
DanyLE 2023-01-28 10:56:24 +01:00
parent beec8b9350
commit 8d1d91f054

View File

@ -1,5 +1,5 @@
require("silk.core.sqlite") require("silk.core.sqlite")
local TUNNEL_KEYCHAIN = "/opt/www/tmp/channels/antunnel_keychain" local TUNNEL_KEYCHAIN = __api__.tmpdir.."/channels/antunnel_keychain"
function fail(msg) function fail(msg)
std.custom_header("Connection", "close") std.custom_header("Connection", "close")
std.json() std.json()