diff --git a/README.md b/README.md index 936f447..58da7c2 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ This is a lightweight NodeJS collaborative Whiteboard/Sketchboard which can easi - Undo / Redo function for each user - Drag+Drop / Copy+Paste Images or PDFs from PC and Browsers - Resize, Move, Rotate & Draw Images to Canvas or Background -- Write text +- Write text and sticky notes - Save Whiteboard to Image and JSON - Draw angle lines by pressing "Shift" while drawing (with line tool) - Draw square by pressing "Shift" while drawing (with rectangle tool) diff --git a/config/webpack.base.js b/config/webpack.base.js index da0c449..c73495e 100644 --- a/config/webpack.base.js +++ b/config/webpack.base.js @@ -31,7 +31,7 @@ const config = { use: ["style-loader", "css-loader"], }, { - test: /\.(png|jpe?g|gif)$/i, + test: /\.(png|jpe?g|gif|otf|pdf)$/i, use: [ { loader: "file-loader", diff --git a/scripts/server-backend.js b/scripts/server-backend.js index f6e2447..deb6316 100644 --- a/scripts/server-backend.js +++ b/scripts/server-backend.js @@ -331,9 +331,8 @@ function startBackendServer(port) { socket.emit("whiteboardConfig", { common: config.frontend, whiteboardSpecific: { - correspondingReadOnlyWid: ReadOnlyBackendService.getReadOnlyId( - whiteboardId - ), + correspondingReadOnlyWid: + ReadOnlyBackendService.getReadOnlyId(whiteboardId), isReadOnly: ReadOnlyBackendService.isReadOnly(whiteboardId), }, });