Ask coding questions

← Back to all posts
How to i fix my .json files info auto deleting
DiveshTheReal (106)

is there any problem my info from .json files are auto-deleting i need help

JustSomeone122 (1)

I'm having the same issue too
Sometimes when i dump to json files, they just get wiped.
Here's a link to the project where it is happening

Coder100 (19277)

The files auto reset if you aren't on the repl. This is a security thing (people actually abused this once).

DiveshTheReal (106)

@Coder100 do you know how can i fix this plz i really wanna fix it

Coder100 (19277)

i just said, the file contents reset! @DiveshTheReal

Coder100 (19277)

just use an actual database, like db @DiveshTheReal

DiveshTheReal (106)

@Coder100 where do i get the db

DynamicSquid (5068)

Auto deleting? Could you link the repl?