-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5152d6a
commit 92ec545
Showing
5 changed files
with
127 additions
and
5 deletions.
There are no files selected for viewing
Submodule deeplinks
updated
from e9cb4a to 9fb892
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
import { preloadApi } from '@deep-foundation/perception-imports'; | ||
let initial = false; | ||
const preloadHandler = await preloadApi(process.env.GQL); | ||
export default async function(req, res) { | ||
return await ((await preloadApi())(req, res)); | ||
return await preloadHandler(req, res); | ||
} |