File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ const PORT = process.env.PORT || port;
2727
2828app . use ( express . json ( ) ) ;
2929app . use ( responseTime ( ) ) ;
30- app . use ( express . static ( '.. /public' ) )
30+ app . use ( '/public' , express . static ( './public' ) ) ;
3131
3232app . use ( cors ( ) ) ;
3333app . use ( '/api/' , login , limiter . standard ) ;
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ const parseSchedule = (raw, date) => {
7676 const [ roomNumber , ...nameRaw ] = title . textContent . trim ( ) . split ( ' ' ) . slice ( 1 ) ;
7777
7878 result [ 'roomNumber' ] = roomNumber ;
79- result [ 'img' ] = `https://wilma.otawilma.fi/rooms/${ roomNumber } .jpg` ;
79+ result [ 'img' ] = `https://wilma.otawilma.fi/public/ rooms/${ roomNumber } .jpg` ;
8080 result [ 'name' ] = nameRaw . join ( ' ' ) . replace ( ' - Wilma' , '' ) ;
8181
8282 const jRaw = ( document . getElementsByTagName ( 'script' ) . at ( - 1 ) . textContent . trim ( ) ) ;
You can’t perform that action at this time.
0 commit comments