How to add a publicly accessible file to Invoice Ninja app?
-
wrote on Feb 18, 2024, 8:30 PM last edited by
This may be a strange request but I have the need to temporarily upload a txt file to the public directory of Invoice Ninja for verification purposes, however I cannot seem to get this to work no matter where I put the txt (text) file. If I add to public and try to access it I still get a 404. Is this possible with the way this app is packaged?
-
wrote on Feb 19, 2024, 2:06 AM last edited by
You could add a temporary nginx rule that serves it from a surfer|lamp app instead.
-
wrote on Feb 19, 2024, 5:48 AM last edited by
That makes sense, not sure why I hadn't thought of that one. I temporarily moved the invoice Ninja app to a different subdomain, created a quick LAMP app on the original subdomain with the file I needed, then verified and undid it all. Thank you for the idea @robi.