Skip to content

Commit a24c1ba

Browse files
committed
Test prototypedev couchapp
1 parent 96778bd commit a24c1ba

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,3 +142,4 @@ node_modules
142142
.DS_Store
143143
~*
144144
*.swp
145+
FieldDB

etc/local.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ credentials = true
99
attachments_enable = true
1010
; https://docs.couchdb.org/en/stable/cve/2021-38295.html
1111
; use nginx instead to allow only signed couchapps when on deployed server
12-
attachments_header_value = "child-src 'self' data: blob:; default-src 'self'; img-src 'self' data: https://secure.gravatar.com; font-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline';"
13-
12+
attachments_header_value = "child-src 'self' data: blob:; default-src 'self'; connect-src 'self' https://corpusdev.example.com https://localhost:3183 https://www.google-analytics.com; img-src 'self' data: https://secure.gravatar.com; font-src 'self' https://themes.googleusercontent.com; script-src 'self' 'unsafe-eval' https://www.google-analytics.com; style-src 'self' 'unsafe-inline';"
1413
[couchdb]
1514
single_node=true
1615

test/fixtures/replay/localhost-5984/176495332887018347

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
GET /prototype/_design/prototype
1+
GET /prototypedev/_design/prototype
22
accept-encoding: gzip, deflate
33
accept: application/json
44
authorization: Basic YWRtaW46bm9uZQ==

test/fixtures/replay/localhost-5984/176522423245686959

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
GET /prototype/_design/prototype/user.html
1+
GET /prototypedev/_design/prototype/user.html
22
accept-encoding: gzip, deflate
33
authorization: Basic YWRtaW46bm9uZQ==
44

test/integration/install.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ describe('install', () => {
510510
* and the app expects and requires https
511511
*/
512512
it('should replicate prototype', () => {
513-
const dbnameToReplicate = 'prototype';
513+
const dbnameToReplicate = 'prototypedev';
514514

515515
return supertest(destination)
516516
.post('/_replicate')

0 commit comments

Comments
 (0)