Second frontend, written in Next.JS + Typescript.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
260 B

4 years ago
4 years ago
4 years ago
  1. const fs = require("fs");
  2. const yaml = require("yaml");
  3. const config = yaml.parse(fs.readFileSync("/etc/aiterp/rpdata-frontend2.yaml", {encoding:"utf-8"}));
  4. module.exports = {
  5. serverRuntimeConfig: config,
  6. publicRuntimeConfig: {},
  7. trailingSlash: true,
  8. }