const API_URL = 'https://d07a5522.ngrok.io'

export const saveTokenForPush = subscription =>
    fetch(`${API_URL}/token`, {
        method: 'POST',
        headers: {
            'Content-Type': 'application/json'
        },
        mode: 'no-cors',
        body: JSON.stringify(subscription)
    })
const API_URL = 'https://build-notification-api.herokuapp.com'

export const saveTokenForPush = subscription =>
    fetch(`${API_URL}/token`, {
        method: 'POST',
        headers: {
            'Content-Type': 'application/json'
        },
        mode: 'no-cors',
        body: JSON.stringify(subscription)
    })
Update the url for the build-notification-api
Update the url for the build-notification-api
