mirror of
https://github.com/PretendoNetwork/juxtaposition-ui.git
synced 2026-09-13 11:55:29 -05:00
Added beta favicon ;)
This commit is contained in:
committed by
jay.poff@outlook.com
parent
51fcf5c99a
commit
5721aa880f
@@ -55,6 +55,10 @@ router.get('/css/juxt.css', function (req, res) {
|
||||
res.sendFile('css/juxt.css', {root: path.join(__dirname, '../../../../webfiles/admin/')});
|
||||
});
|
||||
|
||||
router.get('/favicon.ico', function (req, res) {
|
||||
res.sendFile('css/favicon.ico', {root: path.join(__dirname, '../../../../webfiles/portal/')});
|
||||
});
|
||||
|
||||
router.get('/icons/:image_id.png', function (req, res) {
|
||||
database.connect().then(async e => {
|
||||
let community = await database.getCommunityByID(req.params.image_id.toString());
|
||||
|
||||
@@ -19,4 +19,8 @@ router.get('/icons/mario-kart.jpg', function (req, res) {
|
||||
res.sendFile('icons/mario-kart.jpg', {root: path.join(__dirname, '../../../../webfiles/ctr/')});
|
||||
});
|
||||
|
||||
router.get('/favicon.ico', function (req, res) {
|
||||
res.sendFile('css/favicon.ico', {root: path.join(__dirname, '../../../../webfiles/portal/')});
|
||||
});
|
||||
|
||||
module.exports = router;
|
||||
|
||||
@@ -20,6 +20,10 @@ router.get('/fonts/Poppins-Light.ttf', function (req, res) {
|
||||
res.sendFile('fonts/Poppins-Light.ttf', {root: path.join(__dirname, '../../../../webfiles/portal/')});
|
||||
});
|
||||
|
||||
router.get('/favicon.ico', function (req, res) {
|
||||
res.sendFile('css/favicon.ico', {root: path.join(__dirname, '../../../../webfiles/portal/')});
|
||||
});
|
||||
|
||||
router.get('/icons/:image_id.png', function (req, res) {
|
||||
database.connect().then(async e => {
|
||||
let community = await database.getCommunityByID(req.params.image_id.toString());
|
||||
|
||||
BIN
src/webfiles/portal/css/favicon.ico
Normal file
BIN
src/webfiles/portal/css/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 156 KiB |
Reference in New Issue
Block a user