build
This commit is contained in:
parent
9a839c693d
commit
ad6dcda6a5
4 changed files with 225 additions and 206 deletions
|
|
@ -5,6 +5,7 @@ import fs from "node:fs";
|
|||
import { gerar } from "./listar_arquivos";
|
||||
import { ambiente } from "./ambiente";
|
||||
import { renderToStaticMarkup } from "react-dom/server";
|
||||
import bodyParser from 'body-parser'
|
||||
|
||||
// biome-ignore lint/style/useImportType: <explanation>
|
||||
import React, {} from "react";
|
||||
|
|
@ -58,6 +59,7 @@ gerar.then(() => {
|
|||
app.use(express.json());
|
||||
app.use(express.urlencoded());
|
||||
app.use(cors());
|
||||
app.use(bodyParser.urlencoded({ extended: false }))
|
||||
|
||||
app.get([PREFIXO, `${PREFIXO}/`], (req, res) => {
|
||||
const html = (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue