Commit 2bb6227a authored by rockyl's avatar rockyl

增加跨域支持

parent b285ec7c
......@@ -15,6 +15,9 @@ let publicPath;
function handler(request, response){
return serveHandler(request, response, {
public: publicPath,
headers: {
'Access-Control-Allow-Origin': '*',
}
});
}
......
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