update exports

- Closes #915
main
Mike Fix 5 years ago
parent d7de22a9fa
commit 36930c8cf2
No known key found for this signature in database
GPG Key ID: 1D85E862314CA79F

@ -16,7 +16,7 @@ class EmbedIdPage extends React.PureComponent {
if (parameter) { if (parameter) {
const host = req ? req.headers.host : undefined const host = req ? req.headers.host : undefined
snippet = await api.snippet.get(parameter, { host }) snippet = await api.snippet.get(parameter, { host })
if (snippet && snippet.gist_id) { if (snippet /* && snippet.gist_id */) {
return { snippet } return { snippet }
} }

Loading…
Cancel
Save