Skip to content

Commit efe1344

Browse files
committed
👌 coderabbit review feedback
1 parent a6b18ab commit efe1344

File tree

9 files changed

+10
-9
lines changed

9 files changed

+10
-9
lines changed

.github/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
[![Made with love by it@M][made-with-love-shield]][itm-opensource]
3030
[![GitHub license][license-shield]][license]
3131

32-
The repository contains components for the Digital Citizen Service of the City of Munich. It currently includes the personalization service and it's corresponding webcomponents.
32+
The repository contains components for the Digital Citizen Service of the City of Munich. It currently includes the personalization service and it's corresponding webcomponents.
3333

3434
In the future, the repository will be expanded to include the other artifacts which form the Digital Citizen Service.
3535

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VITE_NODE_ENV=development
1+
VITE_NODE_ENV=development
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VITE_NODE_ENV=production
1+
VITE_NODE_ENV=production

personalization-webcomponent/docker/nginx/files.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
location /src/ {
22
expires 365d;
33
add_header 'Access-Control-Allow-Methods' 'GET, OPTIONS' always;
4-
add_header Cache-Control "public, no-transform";
4+
add_header Cache-Control 'public, no-transform';
55
}
66

77
location ~ ^/loader-.*\.js$ {

personalization-webcomponent/docker/nginx/health.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ location /actuator/health {
22
access_log off;
33
add_header 'Content-Type' 'application/json';
44
add_header 'Access-Control-Allow-Methods' 'GET, OPTIONS' always;
5-
add_header Cache-Control 'no-cache';
5+
add_header Cache-Control 'no-cache' always;
66
return 200 '{"status":"UP"}';
77
}

personalization-webcomponent/docker/nginx/sbom.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ location /actuator/sbom/application {
66
access_log off;
77
add_header 'Content-Type' 'application/json';
88
add_header 'Access-Control-Allow-Methods' 'GET, OPTIONS' always;
9-
add_header Cache-Control 'no-cache';
9+
add_header Cache-Control 'no-store, max-age=0';
10+
add_header 'X-Content-Type-Options' 'nosniff' always;
1011
alias /opt/app-root/src/application.cdx.json;
1112
}

personalization-webcomponent/index-checklist-detail.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
</strong>
3434
</noscript>
3535
<div>
36-
<checklist-detail first-name="Julia"/>
36+
<checklist-detail first-name="Julia"></checklist-detail>
3737
</div>
3838
</body>
3939
</html>

personalization-webcomponent/processes/lib/fileGenerator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const __filename = fileURLToPath(import.meta.url);
66
const __dirname = path.dirname(__filename);
77

88
export function generateLoaderJs(filename, subdirectory, suffix) {
9-
// read contents of loader.js.template.template as string
9+
// read contents of loader.js.template as string
1010
const loaderJsTemplate = fs.readFileSync(`${__dirname}/loader.js.template`, {
1111
encoding: "utf-8",
1212
});

personalization-webcomponent/tsconfig.app.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"extends": "@vue/tsconfig/tsconfig.dom.json",
3-
"include": ["env.d.ts", "declarations.d.ts", "src/**/*", "src/**/*.vue"],
3+
"include": ["env.d.ts", "declarations.d.ts", "src/**/*"],
44
"exclude": ["tests/**/*"],
55
"compilerOptions": {
66
"composite": true,

0 commit comments

Comments
 (0)