only return from show-url if in server context

This commit is contained in:
Luke Edwards
2018-01-06 16:11:39 -08:00
parent 1b73baabce
commit 7cef1f1120

View File

@@ -2,10 +2,8 @@
<script> <script>
export default { export default {
preload(foo) { preload({ url }) {
let url = foo.url; if (url) return { url };
console.log('> i am here', url, foo);
return { url };
} }
}; };
</script> </script>