Fix header upload path to use expandPath

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
John Mizerek 2026-01-18 12:16:48 -08:00
parent d4e0ae1162
commit b2b54e123f

View file

@ -5,7 +5,7 @@
<cfheader name="Cache-Control" value="no-store"> <cfheader name="Cache-Control" value="no-store">
<cftry> <cftry>
<cfset headersDir = "/var/www/biz.payfrit.com/uploads/headers"> <cfset headersDir = expandPath("/uploads/headers")>
<cfscript> <cfscript>
function apiAbort(payload) { function apiAbort(payload) {
writeOutput(serializeJSON(payload)); writeOutput(serializeJSON(payload));