Skip to content

Commit ba55457

Browse files
CCM-8985: Remove incorrect config
1 parent 0f0d94c commit ba55457

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

frontend/next.config.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ const { PHASE_DEVELOPMENT_SERVER } = require('next/constants');
44
const amplifyConfig = require('./amplify_outputs.json');
55

66
const basePath = process.env.NEXT_PUBLIC_BASE_PATH ?? '/templates';
7-
const domain = process.env.NOTIFY_DOMAIN_NAME ?? 'localhost:3000';
87

98
const nextConfig = (phase) => {
109
const isDevServer = phase === PHASE_DEVELOPMENT_SERVER;
@@ -22,12 +21,6 @@ const nextConfig = (phase) => {
2221
quietDeps: true,
2322
},
2423

25-
experimental: {
26-
serverActions: {
27-
allowedOrigins: [domain, domain.replace('templates', 'web-gateway')],
28-
},
29-
},
30-
3124
async redirects() {
3225
return [
3326
{

infrastructure/terraform/components/app/amplify_app.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ resource "aws_amplify_app" "main" {
3535
NEXT_PUBLIC_ENABLE_LETTERS = var.enable_letters
3636
NEXT_PUBLIC_PROMPT_SECONDS_BEFORE_LOGOUT = 120
3737
NEXT_PUBLIC_TIME_TILL_LOGOUT_SECONDS = 900
38-
NOTIFY_DOMAIN_NAME = local.root_domain_name
3938
NOTIFY_ENVIRONMENT = var.environment
4039
NOTIFY_GROUP = var.group
4140
USER_POOL_CLIENT_ID = jsondecode(aws_ssm_parameter.cognito_config.value)["USER_POOL_CLIENT_ID"]

0 commit comments

Comments
 (0)