Spaces:
Running
Running
Download fix.cjs from Luca448/APP-Backend: direct link, hf CLI and curl.
- Browser
- Download file 229 Bytes
-
https://huggingface.co/spaces/Luca448/APP-Backend/resolve/main/fix.cjs
- Command line
-
hf download hf://spaces/Luca448/APP-Backend/fix.cjs
-
curl -L -o fix.cjs https://huggingface.co/spaces/Luca448/APP-Backend/resolve/main/fix.cjs
229 Bytes
| const fs = require('fs'); | |
| const file = 'src/views/news/news-view.js'; | |
| let content = fs.readFileSync(file, 'utf8'); | |
| content = content.replace(/\\`/g, '`'); | |
| content = content.replace(/\\\$/g, '$'); | |
| fs.writeFileSync(file, content); | |