Skip to content

Commit

Permalink
move option to where it belongs
Browse files Browse the repository at this point in the history
  • Loading branch information
trevor-scheer committed Jun 7, 2023
1 parent 7f9ec6b commit a508f32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/server/src/plugin/landingPage/default/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ function ApolloServerPluginLandingPageDefault<TContext extends BaseContext>(
config: LandingPageConfig & {
isProd: boolean;
apolloStudioEnv: 'staging' | 'prod' | undefined;
precomputedNonce?: string;
},
): ImplicitlyInstallablePlugin<TContext> {
const version = maybeVersion ?? '_latest';
Expand Down
2 changes: 2 additions & 0 deletions packages/server/src/plugin/landingPage/default/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ export type ApolloServerPluginLandingPageDefaultBaseOptions = {

includeCookies?: boolean;

precomputedNonce?: string;

// For Apollo use only.
__internal_apolloStudioEnv__?: 'staging' | 'prod';
};
Expand Down

0 comments on commit a508f32

Please sign in to comment.