From 72e4196fbe270b33dd6ebdba882b97484cb7ba63 Mon Sep 17 00:00:00 2001 From: Dillon Kearns Date: Wed, 11 May 2022 14:58:27 -0700 Subject: [PATCH] Update adapter script to match hackernews example. --- examples/pokedex/adapter.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/pokedex/adapter.mjs b/examples/pokedex/adapter.mjs index 34cbdae1..3ef5ef8f 100644 --- a/examples/pokedex/adapter.mjs +++ b/examples/pokedex/adapter.mjs @@ -129,8 +129,8 @@ async function render(event, context) { const compiledElmPath = path.join(__dirname, "elm-pages-cli.js"); const compiledPortsFile = path.join(__dirname, "port-data-source.mjs"); - const renderer = require("elm-pages/generator/src/render.js"); - const preRenderHtml = require("elm-pages/generator/src/pre-render-html.js"); + const renderer = require("../../../../generator/src/render"); + const preRenderHtml = require("../../../../generator/src/pre-render-html"); try { const basePath = "/"; const mode = "build";