Skip to content

Commit

Permalink
docs: Allow submissions to Google
Browse files Browse the repository at this point in the history
This is for demonstration purposes.
  • Loading branch information
daniel-ac-martin committed Dec 10, 2024
1 parent 7442743 commit e21f112
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/govuk-docs/src/server/httpd.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { resolve } from 'path';
import engine, { Handler, Mode } from '@not-govuk/engine';
import engine, { cspSelf, Handler, Mode } from '@not-govuk/engine';
import config from './config';
import AppWrap from '../common/app-wrap';
import ErrorPage from '../common/error-page';
Expand Down Expand Up @@ -27,6 +27,7 @@ export const createServer = ({ entrypoints, port }: httpdOptions) => {
secure: config.cookies.secure
},
env: config.env,
formAction: [ 'www.google.co.uk', cspSelf ],
httpd: {
host: config.httpd.host,
port: port || config.httpd.port
Expand Down

0 comments on commit e21f112

Please sign in to comment.