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

Missing cofig #1

Open
xingyaoshawn opened this issue Aug 23, 2021 · 2 comments
Open

Missing cofig #1

xingyaoshawn opened this issue Aug 23, 2021 · 2 comments

Comments

@xingyaoshawn
Copy link

Hi,
I'm reproducing your project, but it seems that the reference of API_URL from the file config shows an error.
I assume that there should be a file config but not included in this file.
for example, in the file videos.service.js : import { API_URL } from '../config'

@fairnightzz
Copy link
Member

Correct, you need to supply ur own api url. Why would we give you our api url 🗿

@MrPicklePinosaur
Copy link
Member

API_URl should be set as the root of the server you are serving the files from. For us this was a subdomain pointing to an nginx autoindex page. You can also see in the rest of the videos.service.js file we are also expecting there to be a /vids directory that the videos will be served from.

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

No branches or pull requests

3 participants