Skip to content

Commit 13b7fd0

Browse files
authored
Merge pull request #31 from filips123/fix-lunch-updater
2 parents 75f9b20 + a69b1b4 commit 13b7fd0

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

API/gimvicurnik/updaters/eclassroom.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,8 @@ def _store_lunch_schedule(self, name, url, span):
413413

414414
# Daily lunch schedule format, used starting with March 2021
415415
# Example: delitevKosila-mar9-2021-TOR-objava-PDF-0.pdf
416-
elif re.search(r"\/delitevKosila-[a-z0-9]+-[0-9]+-[A-Z]{3}-objava.*\.pdf$", url):
416+
# Example: delitevKosila-1sept2021-SRE-objava-PDF.pdf
417+
elif re.search(r"\/delitevKosila-[a-z0-9]+(?:-[0-9]+)?-[A-Z]{3}-objava.*\.pdf$", url):
417418
date = self._get_daily_lunch_schedule_date(name, url)
418419
self._parse_daily_lunch_schedule(date, tables)
419420

website/vue.config.js

+8-6
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,11 @@ module.exports = {
1010

1111
pwa: {
1212
name: process.env.VUE_APP_TITLE,
13+
manifestPath: 'site.webmanifest',
1314

1415
themeColor: '#007300',
1516
msTileColor: '#007300',
1617

17-
manifestPath: 'site.webmanifest',
18-
1918
workboxOptions: {
2019
navigateFallback: '/index.html',
2120
navigateFallbackBlacklist: [/\./]
@@ -28,6 +27,12 @@ module.exports = {
2827
categories: process.env.VUE_APP_CATEGORIES.split(','),
2928
keywords: process.env.VUE_APP_KEYWORDS.split(','),
3029

30+
theme_color: '#007300',
31+
background_color: '#ffffff',
32+
33+
scope: '/',
34+
start_url: '/',
35+
3136
shortcuts: [
3237
{
3338
name: 'Urnik',
@@ -56,10 +61,7 @@ module.exports = {
5661
sizes: '192x192'
5762
}]
5863
}
59-
],
60-
61-
theme_color: '#007300',
62-
background_color: '#ffffff'
64+
]
6365
}
6466
},
6567

0 commit comments

Comments
 (0)