Skip to content

Commit

Permalink
add console.log like before
Browse files Browse the repository at this point in the history
  • Loading branch information
C4illin committed Nov 6, 2023
1 parent 2ea2cdb commit f3ba167
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ The application is a scraper and a frontend. The scraper scrapes

## Running the app locally
Use command `docker-compose -f dev.docker-compose.yaml up` to run the dev docker-compose.yml.

## API
Visit https://lasvecka.nu/data for raw data.
2 changes: 2 additions & 0 deletions lasvecka-node/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ const render = (data) => {
<time datetime="${data.week}">${data.studyweek}</time>
<script>
(function () {
console.log('Powered by G.U.D.')
console.log('Source code: https://github.com/gudchalmers/lasvecka')
document.head = document.head || document.getElementsByTagName('head')[0];
var canvas = document.createElement('canvas'),
img = document.createElement('img'),
Expand Down

0 comments on commit f3ba167

Please sign in to comment.