mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 02:44:02 +00:00
Merge branch 'feat/voice-geometry' into maintainer fixes
Picks upacd87e6c: the keyless cross-site gate on /api/osm/features (582bfce6) and main at93804d5d. SECURITY.md, the format-scope list and the schema-test comments take the branch's side; the place-search budget wording from the timeout fix is kept.
This commit is contained in:
commit
b531dd545b
7 files changed
+21
-12
No files matched your search
@@ -419,6 +419,14 @@ test('a cross-site page cannot spend the operator Overpass', async () => {
|
||||
'sec-fetch-site': 'same-origin',
|
||||
});
|
||||
assert.equal(own.status, 200);
|
||||
// Like /api/overpass, it works behind a reverse proxy: forwarding headers
|
||||
// alone are not a refusal.
|
||||
const proxied = await request('preset=school&bbox=0,0,2,2', undefined, {
|
||||
host: 'localhost:5173',
|
||||
'sec-fetch-site': 'same-origin',
|
||||
'x-forwarded-for': '203.0.113.7',
|
||||
});
|
||||
assert.equal(proxied.status, 200);
|
||||
});
|
||||
|
||||
test('an upstream refusal is not an empty answer', async () => {
|
||||
|
||||
Reference in new issue
Block a user