MCPcopy Index your code
hub / github.com/chavyleung/scripts / getBaseDoneHeaders

Function getBaseDoneHeaders

chavy.box.js:1156–1166  ·  view source on GitHub ↗
(mixHeaders = {})

Source from the content-addressed store, hash-verified

1154}
1155
1156function getBaseDoneHeaders(mixHeaders = {}) {
1157 return Object.assign(
1158 {
1159 'Access-Control-Allow-Origin': '*',
1160 'Access-Control-Allow-Methods': 'POST,GET,OPTIONS,PUT,DELETE',
1161 'Access-Control-Allow-Headers':
1162 'Origin, X-Requested-With, Content-Type, Accept'
1163 },
1164 mixHeaders
1165 )
1166}
1167
1168function getHtmlDoneHeaders() {
1169 return getBaseDoneHeaders({

Callers 3

getHtmlDoneHeadersFunction · 0.70
getJsonDoneHeadersFunction · 0.70
doneOptionsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…