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

How to deply express app with ejs files on netlify. #767

Open
h-a-entertainment opened this issue Jul 30, 2024 · 0 comments
Open

How to deply express app with ejs files on netlify. #767

h-a-entertainment opened this issue Jul 30, 2024 · 0 comments

Comments

@h-a-entertainment
Copy link

Movie-App/
├── node_modules/
│ └── files related to modules
├── public/
│ ├── css/
│ │ └── theme_1.css
│ ├── js/
│ │ ├── app.min.js
│ │ └── search.js
│ ├── images/
│ │ └── logo.png
├── views/
│ ├── cast.ejs
│ ├── contact-us.ejs
│ ├── country.ejs
│ ├── filter.ejs
│ ├── genre.ejs
│ ├── index.ejs
│ ├── movie.ejs
│ ├── movies.ejs
│ ├── production.ejs
│ ├── search.ejs
│ ├── series.ejs
│ ├── terms.ejs
│ ├── top-imdb.ejs
│ ├── tv-series.ejs
│ └── watch-movie.ejs
│ └── watch-series.ejs
├── .env
├── app.js
├── package.json
├── package-lock.json
├── netlify.toml
└── netlify/functions/
└── api.js
This is my directory
when i deploy my project on netlify on my main url error occurs "Cannot GET /" that i define in route to work with index.ejs
but i can access my css and js file from main url "https://***entertainment.netlify.app/css/theme_1.css"
how could i deploy my project using ejs files to show in main url on nrtlify

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

1 participant