Skip to content

Commit

Permalink
MERL-1211: app router config settings (#1577)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewguywright authored Sep 15, 2023
1 parent ae69cfb commit 55cf810
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 1 addition & 0 deletions examples/next/app-router/app/api/faust/[route]/route.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { faustRouteHandler } from '@faustwp/experimental-app-router';
import '../../../../faust.config.js';

const { GET, POST } = faustRouteHandler;

Expand Down
6 changes: 0 additions & 6 deletions examples/next/app-router/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
import { gql } from '@apollo/client';
import { getClient } from '@faustwp/experimental-app-router';
import Link from 'next/link';
/**
* For now, we will manually call the Faust config as we have not yet determined
* how we want to set the config (Currently in Faust we call it in the [wordPressNode] file).
*
* @todo
*/
import '../faust.config.js';

export const metadata = {
Expand Down

1 comment on commit 55cf810

@headless-platform-by-wp-engine

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check out the recent updates to your Atlas environment:

App Environment URL Build
faustjs canary https://hg…wered.com ✅ (logs)

Learn more about building on Atlas in our documentation.

Please sign in to comment.