mirror of
https://github.com/JOYCEQL/magic-resume.git
synced 2026-06-02 07:43:34 +02:00
25 lines
533 B
JavaScript
25 lines
533 B
JavaScript
import createNextIntlPlugin from "next-intl/plugin";
|
|
import path from "path";
|
|
import { fileURLToPath } from "url";
|
|
|
|
const withNextIntl = createNextIntlPlugin();
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const config = {
|
|
typescript: {
|
|
ignoreBuildErrors: true,
|
|
},
|
|
output: "standalone",
|
|
async rewrites() {
|
|
return [
|
|
{
|
|
source: "/generate-pdf",
|
|
destination:
|
|
"http://1255612844-0z3iovadu8.ap-chengdu.tencentscf.com/generate-pdf",
|
|
},
|
|
];
|
|
},
|
|
};
|
|
|
|
export default withNextIntl(config);
|