Skip to content

Commit 45ce42b

Browse files
committed
Load engine forms from disk
1 parent 1efb66f commit 45ce42b

14 files changed

Lines changed: 693 additions & 1811 deletions

docs/GETTING_STARTED.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,7 @@ Blocks marked with `# FEATURE: <name>` are optional and can be omitted if the fe
116116
FEEDBACK_LINK=http://test.com
117117
# END FEATURE: Phase banner
118118

119-
# START FEATURE: DXT -- used if using DXT's infrastructure to store your forms and file uploads
120-
MANAGER_URL=http://localhost:3001
119+
# START FEATURE: DXT -- used if using DXT's infrastructure for file uploads
121120
DESIGNER_URL=http://localhost:3000
122121
SUBMISSION_URL=http://localhost:3002
123122

jest.setup.cjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
process.env.MANAGER_URL = 'http://localhost:3001'
21
process.env.REDIS_HOST = 'dummy'
32
process.env.REDIS_KEY_PREFIX = 'forms-designer'
43
process.env.REDIS_PASSWORD = 'dummy'

src/config/index.ts

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -179,12 +179,6 @@ export const config = convict({
179179
/**
180180
* API integrations
181181
*/
182-
managerUrl: {
183-
format: String,
184-
default: 'http://localhost:3001',
185-
env: 'MANAGER_URL'
186-
} as SchemaObj<string>,
187-
188182
designerUrl: {
189183
format: String,
190184
default: 'http://localhost:3000',
@@ -251,7 +245,14 @@ export const config = convict({
251245
format: String,
252246
default: 'staging',
253247
env: 'STAGING_PREFIX'
254-
}
248+
},
249+
250+
submissionEmailAddress: {
251+
doc: 'Email address to send the form to (local devtool only)',
252+
format: String,
253+
default: null,
254+
env: 'SUBMISSION_EMAIL_ADDRESS'
255+
} as SchemaObj<string>
255256
})
256257

257258
config.validate({ allowed: 'strict' })

src/server/forms/README.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)