added css file (fonts not working!) and modified server.py

This commit is contained in:
zortazert 2022-04-03 14:15:20 -05:00
parent b2504187c6
commit 5cca6fe0ee
3 changed files with 2 additions and 2 deletions

BIN
OpenSans-ExtraBold.ttf Normal file

Binary file not shown.

BIN
OpenSans-ExtraBold.woff Normal file

Binary file not shown.

View file

@ -28,7 +28,7 @@ print("""╔═╗┬─┐┌─┐┌─┐╔═╗┌─┐┌┬┐┌─
Copyright (C) 2022 Jeison Yehuda Amihud Copyright (C) 2022 Jeison Yehuda Amihud and contributors.
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by it under the terms of the GNU Affero General Public License as published by
@ -66,7 +66,7 @@ else:
"INFO" : "You would be better off setting address to the full URL of the FreeCompetitors instance.", "INFO" : "You would be better off setting address to the full URL of the FreeCompetitors instance.",
"address" : "/", "address" : "/",
"port" : 8080, "port" : 8080,
"css" : "https://zortazert.codeberg.page/style/styles.css" "css" : "https://zortazert.codeberg.page/style/safety.css"
}""") }""")
newConfig.close newConfig.close
print(bcolors.WARNING + "Please edit the configuration file \"config.json\"." + bcolors.RESET) print(bcolors.WARNING + "Please edit the configuration file \"config.json\"." + bcolors.RESET)