Open goliatone opened 8 years ago
For HTML/CSS/JS files, we might want to mimic filesystem so that if we upload folder, we should have option to keep directory structure.
So, if directory structure:
- src | init.lua | app.lua | - public | - index.html | - style.css
Then, inside app, we can do file.open('public/index.html').
file.open('public/index.html')
For HTML/CSS/JS files, we might want to mimic filesystem so that if we upload folder, we should have option to keep directory structure.
So, if directory structure:
Then, inside app, we can do
file.open('public/index.html')
.