mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 11:07:10 +00:00
chore(folio-webApp): pin dev-server port and trim worker logging
webpack-dev-server now binds 8088 (or WEBAPP_PORT) so it doesn't collide with the docs server on 8080. Drop the per-message reply log; keep only the OPFS init line and error logging.
This commit is contained in:
1 parent
8a3fa556d7
commit
4083a316e4
2 files changed
+2
-2
No files matched your search
@@ -64,8 +64,7 @@ self.onmessage = (event) => {
|
||||
})
|
||||
.catch((err) => {
|
||||
const message = err && err.message ? String(err.message) : String(err);
|
||||
console.error('[sqlite worker] error', message, err);
|
||||
self.postMessage({ id: data && data.id, error: { message, name: err && err.name } });
|
||||
});
|
||||
};
|
||||
|
||||
self.postMessage({ ready: true, persistent: isPersistent });
|
||||
@@ -1,5 +1,6 @@
|
||||
config.devServer = {
|
||||
...(config.devServer || {}),
|
||||
port: process.env.WEBAPP_PORT ? Number(process.env.WEBAPP_PORT) : 8088,
|
||||
headers: {
|
||||
...((config.devServer && config.devServer.headers) || {}),
|
||||
'Cross-Origin-Opener-Policy': 'same-origin',
|
||||
|
||||
Reference in new issue
Block a user