Opening animation, remove bootstrap

This commit is contained in:
Violet 2024-02-08 18:45:32 +00:00 committed by GitHub
parent 2b615282af
commit 8c05dff3fd
8 changed files with 73 additions and 395 deletions

View file

@ -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"))