Update adapter script to match hackernews example.

This commit is contained in:
Dillon Kearns 2022-05-11 14:58:27 -07:00
parent cbb422e52b
commit 72e4196fbe

View File

@ -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";