I believe by default the IHP static directory is a relative directory to pwd/static
. Is there a way to set it to another, fixed directory?
Asked
Active
Viewed 32 times
1

Chris Schankula
- 303
- 1
- 6
1 Answers
1
That's not possible in IHP. The "static/" directory is hardcoded in multiple places.

Dharman
- 30,962
- 25
- 85
- 135

Marc Scholten
- 1,351
- 3
- 5
-
1Well, I mentioned a while back how we had a race condition which ended up setting the current directory to the wrong one which broke the static assets. Thought we had it fixed but it seemed to happen again yesterday where suddenly CSS wasn't being served. It's kind of strange because I don't think we're even changing the directory now, so maybe this happened due to another issue. I need to dig deeper into the logs to see what I can see but I wondered if this might be a stop-gap solution in the meantime. – Chris Schankula Jan 18 '22 at 17:27
-
Ok that makes sense – Marc Scholten Jan 18 '22 at 17:45