Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is not working #6

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

is not working #6

wants to merge 2 commits into from

Conversation

olavea
Copy link
Owner

@olavea olavea commented Apr 26, 2024

No description provided.

Copy link

netlify bot commented Apr 26, 2024

Deploy Preview for papaya-kitsune-aba84f failed. Why did it fail? →

Name Link
🔨 Latest commit a8e8fd0
🔍 Latest deploy log https://app.netlify.com/sites/papaya-kitsune-aba84f/deploys/66320b7025623900084be46e

@olavea
Copy link
Owner Author

olavea commented Apr 26, 2024

the urlbox package is not "working"

urlbox-screenshot-2

I have installed urlbox
urlbox-installed-3
Do we use yarn? I used npm

import Urlbox from "urlbox";


const { Urlbox_Pub_Key } = import.meta.env;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think Vite allows for deconstructions of env variables. You have to do const Urlbox_Pub_Key = import.meta.env.Urlbox_Pub_Key.

But I would go with the standard uppercase so: const Urlbox_Pub_Key = import.meta.env.URLBOX_PUB_KEY

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants