Opening animation, remove bootstrap
This commit is contained in:
parent
2b615282af
commit
8c05dff3fd
8 changed files with 73 additions and 395 deletions
9
index.js
9
index.js
|
@ -182,15 +182,6 @@ app.use((req, res, next) => {
|
|||
`)
|
||||
})
|
||||
|
||||
function updateCSS() {
|
||||
var css = fs.readFileSync(path.join(resourcePath, 'style.css')).toString()
|
||||
|
||||
css = minify.minify(css)
|
||||
fs.writeFileSync(path.join(staticpath, 'style.css'), css) // Will add more in the future
|
||||
}
|
||||
|
||||
updateCSS()
|
||||
|
||||
async function updateCommits() {
|
||||
var codebergResponse = await (await fetch(`https://codeberg.org/Bingus_Violet/Violets-Purgatory/src/branch/${process.env.BRANCH || "origin"}`)).text()
|
||||
var commits = codebergResponse.substring(0, codebergResponse.indexOf("Commits"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue