Skip to content

Commit

Permalink
smoldot forbidWs
Browse files Browse the repository at this point in the history
  • Loading branch information
josepot committed Apr 27, 2024
1 parent 78d905c commit 98e3775
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/api/clients/smoldot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ const getTickDate = () => tickDate
*/

export const smoldot = startFromWorker(
new SmWorker() /*, {
new SmWorker(),
{ forbidWs: true } /*, {
maxLogLevel: 9,
logCallback: (level: number, target: string, message: string) => {
messages.push(`${getTickDate()} (${level})${target}\n${message}\n\n`)
Expand Down

0 comments on commit 98e3775

Please sign in to comment.