๐Ÿ“ฆ GitSquared / gaby.dev

๐Ÿ“„ bs-config.js ยท 12 lines
1
2
3
4
5
6
7
8
9
10
11
12module.exports = {
	ui: false,
	notify: false,
	server: {
		baseDir: 'public'
	},
	middleware: (req, _, next) => {
		if (req.url.endsWith('/')) req.url = req.url+'index.html'
		return next()
	}
}