Some checks failed
CI / go (push) Waiting to run
CI / docker (push) Waiting to run
CI / lint-go (push) Waiting to run
CI / lint-docs (push) Waiting to run
CI / check-paperclip (push) Waiting to run
Deploy static site / Deploy to GitHub Pages (push) Has been cancelled
Deploy static site / Deploy via Docker to hatch.surf (push) Has been cancelled
Resolved conflicts by taking GitHub versions for: - .dockerignore, .gitignore, Dockerfile, README.md, docker-compose.yml Kept deploy.sh updated to: - Pull from GitHub (primary source) - Push to Gitea (push-mirror) - Build from site/ directory (GitHub structure) Co-Authored-By: Paperclip <noreply@paperclip.ing>
31 lines
1.2 KiB
JavaScript
31 lines
1.2 KiB
JavaScript
const ERROR_MESSAGE = 'Internal Error: do not use legacy react-dom/server APIs. If you encountered this error, please open an issue on the Next.js repo.';
|
|
function error() {
|
|
throw Object.defineProperty(new Error(ERROR_MESSAGE), "__NEXT_ERROR_CODE", {
|
|
value: "E1021",
|
|
enumerable: false,
|
|
configurable: true
|
|
});
|
|
}
|
|
var b;
|
|
if (process.env.NEXT_RUNTIME === 'nodejs') {
|
|
if (process.env.NODE_ENV === 'production') {
|
|
b = require('next/dist/compiled/react-dom-experimental/cjs/react-dom-server.node.production.js');
|
|
} else {
|
|
b = require('next/dist/compiled/react-dom-experimental/cjs/react-dom-server.node.development.js');
|
|
}
|
|
} else {
|
|
if (process.env.NODE_ENV === 'production') {
|
|
b = require('next/dist/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.js');
|
|
} else {
|
|
b = require('next/dist/compiled/react-dom-experimental/cjs/react-dom-server.edge.development.js');
|
|
}
|
|
}
|
|
exports.version = b.version;
|
|
exports.renderToReadableStream = b.renderToReadableStream;
|
|
exports.renderToString = error;
|
|
exports.renderToStaticMarkup = error;
|
|
if (b.resume) {
|
|
exports.resume = b.resume;
|
|
}
|
|
|
|
//# sourceMappingURL=react-dom-server-experimental.js.map
|