Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: modify response header of static web #55

Merged
merged 3 commits into from
Dec 12, 2023

Conversation

JHong-Hsu
Copy link
Collaborator

No description provided.

@@ -27,6 +27,33 @@ import { IssuanceModule } from '../issuance/issuance.module';
return [
{
rootPath: clientPath,
serveStaticOptions: {
setHeaders(res) {
const cspHeader = (
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JHong-Hsu could you add comments here to explain the reason for this change? thanks!

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK!

@yurenju yurenju merged commit 7be1eaa into moda-gov-tw:main Dec 12, 2023
3 checks passed
@yurenju
Copy link
Collaborator

yurenju commented Dec 12, 2023

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants