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

bug: Cover Image for courses not showing up on the home page which comes after login #1238

Closed
Parikshit2001 opened this issue Sep 16, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@Parikshit2001
Copy link
Contributor

Describe the bug
Cover Image is not showing up on the home page which comes after login.
If I go to the src of that image it says access denied.

To Reproduce
Steps to reproduce the behavior:

  1. Set up the project
  2. Go to the landing page

Expected behavior
Image should show up on landing page

Screenshots or GIFs
Screenshot 2024-09-17 at 12 06 53 AM

Info (please complete the following information):

  • Browser [Brave]
  • Version [v1.69.168]

Additional context
The data is seeded in the prisma/seed.ts file - https://github.com/code100x/cms/blob/main/prisma/seed.ts

@Parikshit2001 Parikshit2001 added the bug Something isn't working label Sep 16, 2024
@Parikshit2001
Copy link
Contributor Author

In my opinion either @hkirat has to fix it from the backend OR
if you want some other image URLs, then please give it to me, I'll add them in the prisma/seed.ts file

@anandrajsingh
Copy link

It shows access denied when you try to open the image url directly on browser

@ItsFlash10
Copy link
Contributor

It's not a bug, the link added in the seed command is not public, you can replace it in your machine if you want.

@sahitya-chandra
Copy link

@Parikshit2001 Hey can you tell me what is the use of prisma/seed.ts file and scripts folder in src folder path src/scripts

@upgraderboy
Copy link

@Parikshit2001 Hey can you tell me what is the use of prisma/seed.ts file and scripts folder in src folder path src/scripts

The scripts present in scripts folder is used to automatic deploy your application on server that u will see study in dev ops, if you are member of cohort 3.
The seed file in prisma is to add mockup data in your database using the file, in most of case that performed for testing purpose in dev environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants