246 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
2
answers
352
views
SvelteKit handle a static image folder
I build an anonymous board with SvelteKit, it can handle the user uploaded image, and save it to path like <project_folder>/static/images/abc.jpg, and we can access it with a URL http://...
0
votes
1
answer
851
views
What qualifies as 'static content' in Next.js (Pages Router)?
I am working on a T3 app with the following build structure:
Route (pages) Size First Load JS
┌ ○しろまる / 22.1 kB 160 kB
├ /...
0
votes
1
answer
130
views
JustPy QuasarPage - where do I put the favicon file in my project tree?
Problem statement
I'm trying to set the favicon for my QuasarPages in a JustPy web app, adding the attribute favicon="book_icon_32.png" to my QuasarPage. When looking at the page source in ...
3
votes
0
answers
1k
views
Serve Static Content with Spring Boot 3
Hello dear Stack Overflow community,
I have a Spring Boot web app that was previously packaged as a WAR file, my static content was placed inside a webapps/resources folder ( apart from thymeleaf ...
0
votes
1
answer
132
views
Multiple retrieve-marker inside fo:static-content
In one of the sample code I am seeing:
<fo:static-content flow-name="rest-page-footer" font-family="Arial" font-style="normal" font-size="4">
<fo:...
0
votes
0
answers
375
views
How can I run nginx on project files on windows? [duplicate]
I am trying to run NGINX locally on my windows computer.
I installed the pkg from https://nginx.org/en/download.html & un zipped it to my c drive and tried to run nginx -v and i got this err
**...
1
vote
1
answer
469
views
Is middleware necessary when only serving static files?
This is really a philosophical question; I'm curious what the community thinks. I'm not so concerned with the how; but rather the why.
Let's say I want to set up a super simple web server to serve ...
2
votes
1
answer
728
views
Serve static content with webflux and multiple wildcards
I want to serve react app with routes from Spring Boot with WebFlux and functional routing.
I'm trying to implement following rules:
There are few /api endpoints that should be routed with functions.
...
4
votes
0
answers
3k
views
How to handle dynamic images with Next
Next.js documentation says:
"Only assets that are in the public directory at build time will be served by Next.js. Files added at runtime won't be available. We recommend using a third party ...
1
vote
1
answer
190
views
Ts.ED simple static server surprise 404 failure
I have a SPA who I was developing with Ts.ED and, with I don't know what change, completely stopped serving the static content. I reduced as much as possible the code to even make an exposition ...
3
votes
0
answers
267
views
Best approach to serve user protected files - Node.js, Express server
I would like to know what is the best way to serve private(to an user) files from my Express server (API).
Every user may have associated files that contain private data and should not be available ...
0
votes
1
answer
618
views
Magento 2 change static content folder
Is it possible to rename static content folder? f.e from ../pub/static to /pub/statix
I saw 'base url for static view files' setting in the admin panel, but if I set it to {{secure_base_url}}/statix/ ...
0
votes
1
answer
145
views
For static domain files, cookies are still attached. How to solve? ASP.NET , IIS 10
My application is ASP.NET 4.5 Website : https://www.monstermmorpg.com/
I serve all the static content from a static domain https://static.monstermmorpg.com
However cookies are still getting attached ...
2
votes
0
answers
300
views
How to disable access to certain static files from /resources/META-INF/resources in production using Quarkus?
Im having a small html page in my META-INF/resources to test certain things in my development environment with gradle quarkusDev.
ContainerRequestFilters don ́t get called when static content is being ...
3
votes
0
answers
1k
views
Springboot statc content : None of the document roots [src/main/webapp, public, static] point to a directory
I'm running a springboot jar application, and I'm facing some issues accessing static content from it.
I placed my static content under src/main/resources/static and it is getting copied to the jar as ...