Commit 34692216 authored by nanahira's avatar nanahira

add cors

parent dae87113
Pipeline #21208 passed with stages
in 17 minutes and 27 seconds
......@@ -67,6 +67,7 @@ export interface RenderData {
sites: SiteRenderData[];
httpExtra?: string[];
nginxExtra?: string[];
cors?: boolean;
}
async function getSiteData(
......@@ -163,5 +164,6 @@ export async function getData(
),
httpExtra: parser.getArray('HTTP_EXTRA'),
nginxExtra: parser.getArray('NGINX_EXTRA'),
cors: parser.getBoolean('CORS'),
};
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment