mirror of
https://github.com/binwiederhier/ntfy.git
synced 2024-11-23 11:37:54 +03:00
Formatting, npm update
This commit is contained in:
parent
d1e59fe08c
commit
a90bd4cd06
745
web/package-lock.json
generated
745
web/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -45,9 +45,7 @@ class ErrorBoundaryImpl extends React.Component {
|
||||
// Fetch additional info and a better stack trace
|
||||
StackTrace.fromError(error).then((stack) => {
|
||||
console.error("[ErrorBoundary] Stacktrace fetched", stack);
|
||||
const stackString = stack
|
||||
.map((el) => ` at ${el.functionName} (${el.fileName}:${el.columnNumber}:${el.lineNumber})`)
|
||||
.join("\n");
|
||||
const stackString = stack.map((el) => ` at ${el.functionName} (${el.fileName}:${el.columnNumber}:${el.lineNumber})`).join("\n");
|
||||
const niceStack = `${error.toString()}\n${stackString}`;
|
||||
this.setState({ niceStack });
|
||||
});
|
||||
|
@ -5,7 +5,7 @@ import react from "@vitejs/plugin-react";
|
||||
export default defineConfig(() => ({
|
||||
build: {
|
||||
outDir: "build",
|
||||
assetsDir: "static/media"
|
||||
assetsDir: "static/media",
|
||||
},
|
||||
server: {
|
||||
port: 3000,
|
||||
|
Loading…
Reference in New Issue
Block a user