v1.0.19: Nubes UI + CORS + favicon/logo + таблица как на ВМ
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
<cfsetting showdebugoutput="no" enablecfoutputonly="true">
|
||||
<cfheader name="Content-Type" value="application/json; charset=utf-8">
|
||||
<cfheader name="Access-Control-Allow-Origin" value="*">
|
||||
<cfheader name="Access-Control-Allow-Methods" value="GET, POST, OPTIONS">
|
||||
<cfheader name="Access-Control-Allow-Headers" value="Content-Type">
|
||||
|
||||
<cfif cgi.request_method EQ "OPTIONS">
|
||||
<cfheader name="Content-Type" value="text/plain">
|
||||
<cfoutput>OK</cfoutput>
|
||||
<cfabort>
|
||||
</cfif>
|
||||
|
||||
<cfset result = {ok: false, error: "no file"}>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user