Skip to content

socket.emit throws garbage data to wrapper #10

Description

@CrunkFX

On the Config Wrapper and the CSS Wrapper you can´t configure text. As soon as you either reload the page or save the config it will be converted into garbage (see image).

Versions:
NodeJS: v12.20.0
NPM: 6.14.8
Admin: 4.1.11
Web: 3.0.14
Socketio: 3.0.13
TileBoard: 0.3.1

AFAIK it seems to be the socket.emit('readFile', 'tileboard.0', 'config.js', function (err, data) and socket.emit('readFile', 'tileboard.0', 'custom.css', function (err, data) beeing at least part of the Problem. I tested the Wrapper with a fixed string, which worked fine.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions