mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-24 06:54:03 +03:00
Update adapter script to match hackernews example.
This commit is contained in:
parent
cbb422e52b
commit
72e4196fbe
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user