Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
1 answer
81 views

I have a web app that needs to expose APIs for mobile app (GET, POST, PUT AND DELETE endpoints), currently i'm doing the fetch in both client and server components, but i looked at the client ...
Aasem Shoshari's user avatar
-1 votes
2 answers
70 views

I have Laravel app. I defined route in routes/web.php like this: Route::get('/{slug}/discussion', 'DiscussionController@showForDistrict')->name('district_discussion'); I have DiscussionController ...
Kostya Bronshteyn's user avatar
0 votes
0 answers
62 views

I am trying to set up routing between an OpenVPN network (10.8.0.0/24) and a LAN network (10.10.10.0/24) on OpenWRT. I have an OpenVPN server with the configuration: Configuration of the OpenVPN ...
Daniil Stein's user avatar
0 votes
1 answer
104 views

I'm just a newbie with CodeIgniter and I'm so sorry if my english so bad. I want to create validation for input login, this is my view: <form action="/Home/login" method="post"&...
AnharGP's user avatar
1 vote
0 answers
62 views

I am struggling with modeling the following problem: I have a list of vehicles with known capacity I have a list of boxes that has to be loaded onto a vehicle, each vehicle has known size that ...
kornicameister's user avatar
0 votes
0 answers
36 views

I have a Laravel backend with defined routes like this: Route::get('task-list', [TaskController::class, 'taskListInfo']); Route::post('task-save', [TaskController::class, 'taskInfoStore']); Route::put(...
Motalib Hossain's user avatar
1 vote
1 answer
58 views

I am working on a corporate Angular web application and am creating a proof of concept to add an "ease-out/ease-in" transition animation to all route changes. I've followed the Angular ...
TitaniumMithril's user avatar
1 vote
1 answer
159 views

I am trying to reuse a set of controllers, razor pages and content (wwwroot) from another assembly, however, I want these pages and controllers to run in a sub route of the existing pages. The pages ...
mxcolin's user avatar
  • 115
0 votes
0 answers
15 views

Preparing a 301 redirect should be straightforward, but for some reason, I cannot get the reroute to trigger properly. I am trying to reroute "/some-old-path" to "/some-new-path" ...
Casso's user avatar
  • 149
2 votes
1 answer
227 views

I'm experimenting with routing in Go and ran into an issue where my API always returns a 404 Not Found when I try to access an endpoint like: https://localhost:8080/api/v1/users/login Here’s my ...
Cheezecake's user avatar
0 votes
0 answers
25 views

I went through Rabbit MQ documentation on routing keys. I see that there are only operators * and # to define a routing key. I have about 10,000 users whose birthday notifications are to be processed. ...
stalwalk's user avatar
  • 113
0 votes
1 answer
49 views

There are 2 routes to my .NET 8 razor page: https://localhost:7215/DemoForm/30030443-2b0c-4b94-959d-fb6132dc164f https://localhost:7215/DemoInfo?oid=30030443-2b0c-4b94-959d-fb6132dc164f Demo.razor: @...
HTK's user avatar
  • 1
0 votes
0 answers
71 views

I am getting this error after I moved my page.tsx from app directory to the group route that I created in the same app directory. The reason why I moved this home page to group route because I want to ...
Marccodes's user avatar
0 votes
1 answer
82 views

I am working on a Blazor project, and couldn't help but notice that the navigation is not type-safe. It is really hindering the development process, as it is really easy to make mistakes related to it....
Olivér Raisz's user avatar
1 vote
1 answer
111 views

I'm new to the world of microfrontends and I'm facing an issue. I have an application with a microfrontend architecture, and I'm using single-spa-angular to mount and unmount my apps when needed. Here'...
camil's user avatar
  • 81
0 votes
2 answers
207 views

I have the following setup created: app.MapControllerRoute( name: "Product", pattern: "product/{*url}", defaults: new { controller = "Product", action = "...
JohnPete22's user avatar
-1 votes
3 answers
159 views

laravel 11 here in web.php Route::resource('event', EventController::class); works ok when i replace this line by Route::get('/event', [EventController::class, 'index'])->name('event.index'); ...
keyon8060's user avatar
1 vote
1 answer
85 views

I'm trying to use multi language by domain, for example I have domain.fi.local for language Finnish and domain.es.local for language Spanish and on every of them you can switch to English and I have ...
narovi's user avatar
  • 9
0 votes
1 answer
134 views

I'm trying to validate a server for Let's Encrypt. Route::get(".well-known/acme-challenge/72kwJd49Bnm200zClrljFuKM4Kg4WGTxeYL_Q106Guk", function() { return Response::make('...
quantumpotato's user avatar
0 votes
0 answers
37 views

I want to formulate a problem in CPLEX OPL where a vehicle travels from a source node (road junction) to a destination node (road junction) while making a mandatory stop at one intermediate location. ...
SUBHADARSHINI PANDA's user avatar
0 votes
1 answer
95 views

One of my IndexQueues looks like this plugin.tx_solr.index.queue { pressphotos = 1 pressphotos { type = tx_company_z_pressphotos label = myPressphotosLabel fields { ...
TZP's user avatar
  • 3
1 vote
2 answers
997 views

Iḿ using laravel 11, with the breeze starter kit and Livewire (volt class api) with alpine. In a controller named 'DashboardController' I'm trying to use 'Auth::user' to render a view with the tasks ...
Luz Serrano Díaz's user avatar
0 votes
1 answer
81 views

I am using Laravel Jetstream for authentication, which provides login and registration functionality that redirects users to the dashboard. Currently, in my web.php file, I have set up routes with ...
Ashish Cherry2's user avatar
0 votes
0 answers
70 views

I just started practicing with ASP.NET Core, but I have already encountered a problem that I can't find a solution to for 3 hours. I wrote this simple code, but for some reason I can't process the ...
PeacefulWarrior22's user avatar
0 votes
0 answers
208 views

I'm hosting multiple Angular applications on a Windows machine using nginx. I have a landing page (index.html) that lets me choose between two Angular projects—protocolviewer and conficviewer—which ...
Datenpaket's user avatar
0 votes
0 answers
51 views

This is a server import express from "express"; import path from "path"; import fs from "fs"; import adminRoutes from './routes/adminRoutes.js'; import clientRoutes from ...
Air's user avatar
  • 203
0 votes
0 answers
57 views

I'm making a pastebin-like client on Angular 18 and so far the interface works great. Only issue is that refreshing the page or trying to directly enter the website via the full url (very important ...
user24962484's user avatar
2 votes
2 answers
65 views

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
0 answers
158 views

I am getting a page not found error message when trying to create a Controller and Route in Drupal 10. I am working with the Acquia Drupal Module Development course. I have created the module and ...
vlevasseur01's user avatar
0 votes
0 answers
110 views

Problem I'm experiencing an issue with my Nuxt 3 application where navigating between project pages isn't updating the content properly. When navigating through the application UI, the URL changes ...
Russeartister's user avatar
1 vote
1 answer
72 views

I have implemented an API that is protected by JWT authorization layer. So on each endpoint before calling it I check that the user has a valid token before proceeding. It works flawlessly. Now I want ...
user avatar
0 votes
0 answers
50 views

I have a simple code preventing a page with a form from closing when the form filling is started but isn't finished. Unfortunately, when a user tries to move to the previous page with the browser's ...
Vladislav Maksimov's user avatar
0 votes
0 answers
60 views

On NextJS (deployed in Vercel), by default, the 404 error page is .com/404. I need to change it to .com/errors/404. I've tried reading the docs (https://vercel.com/guides/custom-404-page) and even ...
Broda Noel's user avatar
  • 2,093
1 vote
1 answer
35 views

The app loads app.module where I give it a route: export const routes: Routes = [ { path: '', resolve: { mockData: MockApiResolver }, loadChildren: () => import('./shared-components/...
Tom Rudge's user avatar
  • 3,222
0 votes
1 answer
130 views

Reproduction: npm create vite@latest choose: react choose: typescript cd vite-project npm install npm i react-router-dom App.tsx: import { Routes, Route, BrowserRouter } from 'react-router-dom'; ...
NaN-Simon's user avatar
  • 186
0 votes
1 answer
67 views

class MyApp extends StatefulWidget { MyApp({super.key}); @override State<MyApp> createState() => _MyAppState(); } class _MyAppState extends State<MyApp> { @...
Amna Shaikh's user avatar
0 votes
2 answers
481 views

I am trying to implement JWT auth on a Blazor App 9 (using Server interactivity) but I can't seem to get app to route to the Login page when the user first starts the app. The Index has an [Authorize] ...
Cuvin Stefan's user avatar
1 vote
0 answers
55 views

I am using route API https://routes.googleapis.com/directions/v2:computeRoutes This is the body I am sending "origin": { "address": "Delhi" }, "destination": {...
user1188837's user avatar
0 votes
0 answers
70 views

I am building an SPA with Nuxt and from the documentation I got the idea that all *.vue files under /pages folder will be automatically used to generate routes. When I run my app locally the routing ...
zmaten's user avatar
  • 481
1 vote
1 answer
110 views

I'm taking screenshot from a Angular website with Puppeteer and want to navigate routes without triggering a full page reload. Using page.goto() causes a reload, but Angular's client-side router ...
GeoDev's user avatar
  • 513
0 votes
3 answers
94 views

I have a Rails app which uses Sidekiq (6.5.12). Sidekiq is mounted using the following code in routes.rb. mount Sidekiq::Web => '/sidekiq' I would like to do something specific anytime a user goes ...
Adam Jacobson's user avatar
0 votes
1 answer
95 views

I want to support opening an offcanvas like this <a href="#cart">Cart</a> from any page. When the offcanvas is open, I want to be able to use the Back button to close it and be ...
nstuyvesant's user avatar
  • 1,536
1 vote
1 answer
35 views

enter image description here When I run npm run build getting error. This is my app/test/[id]/page.tsx export const generateStaticParams = async () => { // Fetch data from an API const res = ...
Mahbubur Rahman's user avatar
1 vote
1 answer
76 views

I'm trying to use Flask as the backend to make a small desktop app using Electron and I've hit a weird snag. Essentially, I have a route, "/appendToList/<some_value>" that should be ...
user24995271's user avatar
1 vote
0 answers
89 views

I am building a Node.js server using Express, and I have defined a couple of routes like this: const express = require('express'); const app = express(); app.get('/api', (req, res) => { res.send(...
Drashti Chabhadiya's user avatar
0 votes
0 answers
13 views

I understand that the GoogleMaps API has a limit of 25 "stops" when I submit a list of locations. I've tried submitting my list as street addresses, lat-lon waypoints, or even place ID's. ...
user1521702's user avatar
3 votes
1 answer
256 views

Because I want my applications to follow some kind of DDD structure, I want my Controller, Entity, Repository, Form etc to sit within a specific directory. For example: src/Appication/Dealer/...
Stok's user avatar
  • 51
0 votes
1 answer
74 views

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::...
Muhammad Shehroz's user avatar
0 votes
0 answers
68 views

Given one or more controllers (within Areas), named for example CustomerController and OrderController, I would like to be able to route to them using either of the following at interchangeably... /...
Martin Robins's user avatar
1 vote
1 answer
341 views

There is a similar question in How to separate flask routes to another modules but it is for Flask. Basically I have this FastHTML python module, which references a lot more routes (here are only 2 ...
Ximo Dante's user avatar