5,121 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
52
views
Using [FromQuery] with a .NET controller for an optional boolean query string parameter where presence alone should set it
.NET has [FromQuery] to get query parameters on the path.
For instance my/foo?bar=1 maps to:
public class MyController : Controller
{
[HttpGet]
public async Task<Whatever> Foo([FromQuery]...
-1
votes
1
answer
118
views
Express 5 optional route parameters (:param?) throw PathError with path-to-regexp
I'm using Express 5.1.0 with Node.js v22.19.0, and I want to define a route where the parameter is optional, like /directory or /directory/someFolder.
Here's the code I tried:
import express from '...
0
votes
2
answers
60
views
SvelteKit 5 routing
My folders structure:
src/routes/[lang]/
├── +layout.svelte
├── +page.svelte
├── +page.server.ts
└── [category]/
├── +page.svelte
└── +page.server.ts
The problem is that if I am ...
1
vote
0
answers
122
views
Identity Pages give 503 when navigating to them. They have different path base URI than the Blazor Pages
I am building an ASP.NET Core 8 web application with Blazor pages. The URI I have been assigned for my web application on the production server is not hosted at the root / of the server but at the ...
-1
votes
1
answer
80
views
Netlify Redirects Not Working for Forcing .html URLs
I’m running into an issue with my static site, and I could really use some help. Here’s the situation:
Project Structure:
My project is a simple HTML, CSS, and JS site with the following structure:
/...
0
votes
1
answer
130
views
GCP load balancer url re-writing and backend-mapping not happening the way I'd expect
I am using a classic application load balancer with two backends. I want my main backend to handle most requests and my auth backend to handle requests to /auth/*. I've been playing around with ...
1
vote
2
answers
69
views
AppEngine Dispatch rules not applied in order for hostnames?
I have a bunch of AppEngine services in a GCP project.
Let's call them red-service, green-service and default, with the project being myproject.
According to the docs, the standard way to reach a ...
0
votes
1
answer
38
views
SvelteKit Duplicate Routes in Layout Groups
Is it possible to have the same route be on different layout groups in SvelteKit. I want to have two different layout groups "/(private)/(app)" and "/(public)/(landing)" that ...
0
votes
0
answers
34
views
How should I handle the slash in search terms in Spartacus Commerce Cloud?
The official documentation has provided a way to handle the "slash" symbol in product names, by using a PRODUCT_NORMALIZER.
https://sap.github.io/spartacus-docs/adding-and-customizing-routes/...
-1
votes
1
answer
32
views
Shallow Routing throws 404 when typing address directly or reloading item url. How to fix this?
Shallow routing works well when clicking on an item
Shallow routing throws 404 when typing item url directly
Link to Stackblitz that shows the issue
src/routes/(news)/+layout.svelte
<script lang=&...
1
vote
0
answers
51
views
Does changing routing url in rails using translated paths affect google search results?
After doing research, I've learned that having 'underscore' in your url path can affect google search results, from this google recommended URL structure:
Google recommended URL structure
I initially ...
0
votes
1
answer
252
views
Using ingress controller with local kind deployment: is it feasible to access all services under one root URL?
I have a local kind deployment which deploys 3 services, MLflow, Katib and a K8s dashboard. I can deploy these as services and access them via port forwarding to each service and visiting the url in ...
2
votes
0
answers
207
views
Bun uses wrong path for css chunk files. How to fix path?
Bun uses wrong path for CSS chunk files. How to fix path if frontend is in different directory than server?
I just started using bun to deploy a fullstack Dev Server while following bun.sh/docs ...
0
votes
0
answers
37
views
Web site in Blazor with both wasm and server side
We would like to create a web app in .NET 8 that has both wasm and server side pages. The server side pages should be hosted on a different site so that it can be upgraded separately.
Home page - wasm ...
0
votes
1
answer
65
views
"Laravel Route Redirects to Deleted View Despite Clearing Cache and Restarting Server"
I just started learning Laravel, and I faced an issue. I made two view files. The first one is home.blade.php and the second one is welcome.blade.php. In the routes folder, web.php, I used the Route::...