Spaces:
Sleeping
Sleeping
Sync from GitHub b45b35909a082b8c73168f8c49116a76bc05055f
Browse files- DEPLOYMENT_CHECKLIST.md +3 -5
- data/database/programme_facts.json +4 -4
- deploy/Caddyfile +1 -1
DEPLOYMENT_CHECKLIST.md
CHANGED
|
@@ -90,11 +90,9 @@ Cron auf demselben Host:
|
|
| 90 |
|
| 91 |
## 6. iframe-Integration ⚠️
|
| 92 |
|
| 93 |
-
- [
|
| 94 |
-
`frame-ancestors https://*.
|
| 95 |
-
`
|
| 96 |
-
Einbettungs-Domains, z. B.:
|
| 97 |
-
`header Content-Security-Policy "frame-ancestors https://*.unisg.ch https://embax.ch"`
|
| 98 |
- [ ] Einbettungs-Domains mit dem EMBA-Webteam final abstimmen
|
| 99 |
- [ ] `<iframe src="https://bot.hsg.ch">` auf einer EMBA-Testseite einbauen
|
| 100 |
- [ ] Cross-Origin-Test: Bot lädt **auf der Zielseite** (nicht nur standalone)
|
|
|
|
| 90 |
|
| 91 |
## 6. iframe-Integration ⚠️
|
| 92 |
|
| 93 |
+
- [x] **CSP im [deploy/Caddyfile](deploy/Caddyfile) korrigiert** (2026-07-04):
|
| 94 |
+
`frame-ancestors https://*.unisg.ch https://embax.ch https://*.embax.ch`
|
| 95 |
+
(vorher `https://*.hsg.ch` — hätte die Einbettung auf den Zielseiten blockiert)
|
|
|
|
|
|
|
| 96 |
- [ ] Einbettungs-Domains mit dem EMBA-Webteam final abstimmen
|
| 97 |
- [ ] `<iframe src="https://bot.hsg.ch">` auf einer EMBA-Testseite einbauen
|
| 98 |
- [ ] Cross-Origin-Test: Bot lädt **auf der Zielseite** (nicht nur standalone)
|
data/database/programme_facts.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"generated_at": "2026-
|
| 3 |
"generator": "src/pipeline/update_programme_facts.py",
|
| 4 |
"sources": [
|
| 5 |
"https://emba.unisg.ch/",
|
|
@@ -72,8 +72,8 @@
|
|
| 72 |
},
|
| 73 |
"ects_credits": 75,
|
| 74 |
"structure": {
|
| 75 |
-
"de": "10 Pflichtkurse,
|
| 76 |
-
"en": "10 core courses,
|
| 77 |
},
|
| 78 |
"locations": {
|
| 79 |
"de": "Costa Rica (Wahlkurs), Japan (Tokio), New York City (Wahlkurs), Schweiz (St. Gallen), China (Peking), USA (UC Berkeley), USA (UC Irvine), Italien (Wahlkurs), Südafrika (Wahlkurs), Spanien (Wahlkurs)",
|
|
@@ -151,4 +151,4 @@
|
|
| 151 |
]
|
| 152 |
}
|
| 153 |
}
|
| 154 |
-
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"generated_at": "2026-07-05",
|
| 3 |
"generator": "src/pipeline/update_programme_facts.py",
|
| 4 |
"sources": [
|
| 5 |
"https://emba.unisg.ch/",
|
|
|
|
| 72 |
},
|
| 73 |
"ects_credits": 75,
|
| 74 |
"structure": {
|
| 75 |
+
"de": "10 Pflichtkurse, darunter 4 Wochen im Ausland, + 4 Wahlkurse",
|
| 76 |
+
"en": "10 core courses, including 4 weeks abroad, + 4 electives"
|
| 77 |
},
|
| 78 |
"locations": {
|
| 79 |
"de": "Costa Rica (Wahlkurs), Japan (Tokio), New York City (Wahlkurs), Schweiz (St. Gallen), China (Peking), USA (UC Berkeley), USA (UC Irvine), Italien (Wahlkurs), Südafrika (Wahlkurs), Spanien (Wahlkurs)",
|
|
|
|
| 151 |
]
|
| 152 |
}
|
| 153 |
}
|
| 154 |
+
}
|
deploy/Caddyfile
CHANGED
|
@@ -2,5 +2,5 @@ bot.hsg.ch {
|
|
| 2 |
reverse_proxy localhost:7860
|
| 3 |
|
| 4 |
header -X-Frame-Options
|
| 5 |
-
header Content-Security-Policy "frame-ancestors https://*.
|
| 6 |
}
|
|
|
|
| 2 |
reverse_proxy localhost:7860
|
| 3 |
|
| 4 |
header -X-Frame-Options
|
| 5 |
+
header Content-Security-Policy "frame-ancestors https://*.unisg.ch https://embax.ch https://*.embax.ch"
|
| 6 |
}
|