fermyon/spin

Need CORS config for HTTP trigger

xiaocode opened this issue · 1 comments

After I searched relative post,only found CORS in rust example.I think that we should have CORS config for http trigger in spin.toml, So that we can use it for any other languages(eg: typescript).

I figure out how implement it in typescript.Just handle it in "HandleRequest"