Files
sapper/test/app/routes/credentials/index.html
2018-03-18 22:36:55 -04:00

11 lines
193 B
HTML

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