Repository navigation
Makefile: Reference admin index.html explicitly - #514
Conversation
…download admin UI SPA, rather than just folder which exists but is empty initially
|
Hi @lmkz , We appreciate the contribution. I cannot seem to reproduce the issue you referenced. Can you provide reproduction steps? I did:
Your fix seems harmless but I am just trying to understand the condition in which this would occur. Is it possible the Thanks, |
|
Hi @cliffcaseyyet that's basically what I did, but the admin folder content didn't exist. When I get some time I'll try again from scratch with a fresh clone and report back here. Thanks. |
|
Hello @cliffcaseyyet my apologies, I just tried that with a fresh clone and it all worked perfectly. Strange as I did exactly the same steps as previously. Perhaps last time I was missing some dependency which meant the admin folder got created but not its content on the first run (Makefile lines 10-14)? That seems most likely in hindsight, and make clean would've probably solved that. |
|
@lmkz Ok, well as I said the PR is pretty harmless from what I can tell so I'll get some other opinions on this end and maybe we'll merge it anyway on the off chance someone deletes the files but not the folders. I mainly just wanted to check there wasn't some condition we weren't thinking of. The one case I can think of is:
Thanks, |
|
@cliffcaseyyet I would say that is highly likely what happened. Thanks! |
After cloning repo and performing "make ephemeral", web server returns an error as admin UI SPA files are not downloaded. /public/admin folder is initially present but empty. Changed Makefile to instead check for presence of index.html.