Skip to content

danacr/Zuri-City

Repository files navigation

Züri City Parking

pls-zh.ch is a great website, but it is not mobile optimized. This project uses its rss feed for a mobile version of it.

What started from a WebAssembly experiment ended up into just another svelte project.

The fetch request from WebAssembly fo the url pls-zh.ch/plsFeed/rss returns an unauthorized pages (Cookies and cross origin issue).

This is why I needed a server page load, which is not the point of wasm.

Also, cloudflare did not work because of stackoverflow.com/a/73222998

Based on How SvelteKit makes type-safe data fetching easier and better! and rss-parser

Developing

npm run dev

# or to expose on the network
vite build --host

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.