fix server-side fetch paths

This commit is contained in:
Rich Harris
2018-03-18 22:36:55 -04:00
parent 2c61f6d396
commit 35c30ae2c5
2 changed files with 1 additions and 2 deletions

View File

@@ -3,7 +3,6 @@
<script>
export default {
preload({ query }) {
console.log(`here ${this.fetch}`);
return this.fetch(`credentials/test.json`, {
credentials: query.creds
}).then(r => r.json());