Files
sapper/test/app/routes/credentials/index.html
2018-05-03 21:54:23 -04:00

11 lines
191 B
HTML

<h1>{message}</h1>
<script>
export default {
preload({ query }) {
return this.fetch(`credentials/test.json`, {
credentials: query.creds
}).then(r => r.json());
}
};
</script>