Can't import from my own notebook

My first attempt when following tutorial of “import” from my own notebook fails …

import {amount} from “Tip Calculator / Geoff Russell | Observable

The link I used was generated by observable … the message in Chrome developer tools is about cross origin issues …

https://geoffrussell.static.observableusercontent.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

Have I not set something up that I need to?

Fixed … set custom url

Imports from other notebooks require either the user name + notebook slug or the notebook ID:

import {amount} from "d77260241860e2c1"

You can read more about importing within Observable here: