Skip to main content
0 votes
0 answers
81 views

How can I properly implement ManifestStaticFilesStorage in Django? [closed]

I'm attempting to implement ManifestStaticFilesStorage in my Django 5.1.5 project. From what I've seen, this should be simple, but it's not behaving in the way I expect. Firstly, I have DEBUG=os....
Chrygore's user avatar
  • 269
0 votes
1 answer
88 views

Blazor Server collocated JavaScript causing crash on Blazor connection timeout due to auth CORS policy

We have a Blazor Server app that requires authorization on all its components (internal business app): // ... app.UseHttpsRedirection(); app.MapStaticAssets(); // <-- Static files middleware ...
micka190's user avatar
  • 1,013
2 votes
0 answers
166 views

Trying to understand MSBuild Static Web Assets output

When running MSBuild using Visual Studio 2022 for our .NET 8 web app, we see lines with the following output: No details found for [PATH][FILE].min.css. Using file system to resolve details This ...
Kiran Ramaswamy's user avatar
0 votes
0 answers
26 views

Jenkins gives a 404 error on its static files via nginx

I'm kind of new to ci/cd stuff I'm trying to throw jenkins through nginx, it works but gives a 404 error on its static files for exmple - https://example.com/jenkins/static/e7bd01fe/jsbundles/styles....
Iliya's user avatar
  • 15
1 vote
1 answer
94 views

static html page not accessible

I want to use a static HTML page in my docker to show logfiles via websockets and FastAPI inside a docker container. As FastAPI has already a webserver, I mount my static page with: root_path = "/...
Dennis's user avatar
  • 301
1 vote
1 answer
299 views

Serving React app statically from FastAPI

I have a React app that I'm trying to serve statically from FastAPI. I've got all my React build artifacts in my static folder. So, my FastAPI app looks like this: static/ assets/ index-...
Daniel Walker's user avatar
0 votes
1 answer
112 views

Get path to read file from /static (SvelteKit)

I have a file "artists.csv" which i need to read during execution of my server side code (when an API request is made, to be specific). new Promise((resolve, reject) => { fs....
allesman's user avatar
1 vote
1 answer
266 views

Blazor 9 MapStaticAssets with nuget

I have successfully migrated my Blazor 8 app to Blazor 9. It has a few razor libraries, all of them providing static assets. I have managed to get the project to run successfully using project ...
Roland Buergi's user avatar
2 votes
2 answers
65 views

Expressjs how to distribute static file loading depending on the path in the address bar

There is such a simple server import express from "express"; import path from "path"; import fs from "fs"; const __dirname = path.resolve(); const app = express(); app....
Air's user avatar
  • 203
0 votes
1 answer
390 views

Using app.MapStaticAssets() middleware doesn't loads the static files on linux virtual machine

Recently, ASP.NET Core 9 released a new middleware, app.MapStaticAssets();, to enhance the delivery of static resources. I’ve been deploying an ASP.NET Core MVC project on a Linux virtual machine, and ...
a_n_rajin's user avatar
0 votes
1 answer
801 views

Using ASP.NET Core 9.0's new mapstaticassets features in a load balanced environment

I have a current application built using ASP.NET Core 8.0 that I am looking to upgrade to .NET 9. I am looking to implement the new MapStaticAssets feature to enable build time compression and ...
user2124521's user avatar
-2 votes
1 answer
62 views

How to serve static files for a special user

i have a page where the user has static files (pdf) and images (created from the pdf on) there is a structure like /files/user1/img/foo.jpg /files/user1/pdf/foo.pdf /files/user2/img/bar.jpg /files/...
Alexander Meis's user avatar
0 votes
1 answer
151 views

MapFallbackToFile to access static file anonymously

I wrote a small ASP.NET Core 8 application with Microsoft identity authentication to login. Now I noticed that my JS files are not protected for anonymously access so I read about static files (https:/...
Stephan's user avatar
  • 409
0 votes
1 answer
88 views

How to serve static files on CloudFoundry?

I have a svelte project that basically is a database of links to internal or external files represented visually as a table. Nothing uber-fancy. So, I've read in other post on StackOverflow that I ...
forkintheass's user avatar
1 vote
1 answer
297 views

How to change a static file in a physical file provider before delivery?

I have different ASP.NET Core (non MVC) applications, which serve multiple static Angular applications. I use the PhysicalFileProvider class do so, which works fine. // This works fine! var ...
Michael's user avatar
  • 1,030

15 30 50 per page
1
2 3 4 5
55