Skip to content

Commit 7e4004d

Browse files
committed
Hardcode URL
1 parent 8679674 commit 7e4004d

File tree

1 file changed

+1
-1
lines changed
  • packages/common/src/components/CustomTemplate

1 file changed

+1
-1
lines changed

packages/common/src/components/CustomTemplate/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ interface Props {
2222
}
2323
const BANNER = 'https://codesandbox.io/static/img/banner.png';
2424
const SCREENSHOT_API_URL = (id: string) =>
25-
`${host()}/api/v1/sandboxes/${id}/screenshot.png`;
25+
`https://codesandbox.io/api/v1/sandboxes/${id}/screenshot.png`;
2626
const CustomTemplate = ({ template, onClick, i }: Props) => {
2727
if (!template) {
2828
return (

0 commit comments

Comments
 (0)