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

Use Breezechms for new backend #554

Open
kathleenahall opened this issue Aug 16, 2023 · 2 comments
Open

Use Breezechms for new backend #554

kathleenahall opened this issue Aug 16, 2023 · 2 comments
Assignees

Comments

@kathleenahall
Copy link
Contributor

  • Change repo once pinned
@JoshuaVSherman
Copy link
Contributor

JoshuaVSherman commented Jan 24, 2024

might need these missing lines of code

app.use(express.static(path.normalize(path.join(__dirname, 'dist'))));

app.use('/', express.static(path.normalize(path.join(__dirname, 'dist'))));

app.get('/*', (request, response) => {
  response.sendFile(path.normalize(path.join(__dirname, 'dist/index.html')));
});

@JoshuaVSherman
Copy link
Contributor

  • run heroku cli commands to deploy from your terminal to see what is happening once it gets deployed
  • might also just be a miss in the backend router code
  • /herokuapp/theurl and it worked
  • /collegelutheran.com it didn't work
  • replicate the issue
  • schedule a call with Adam to help debug issue
  • get some knowledge around how we could debug this issue, can we use heroku cli or how?

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

2 participants