Questions tagged [base-path]

37 questions
0
votes
0 answers

Next.js basepath not taking effect

I'm not able to use a basepath in my Next.js project, despite having searched the docs, blogs, and forums for an hour. Me trying to use an absolute path: I followed the docs and set up my next.config.js looks like this: /** @type…
0
votes
0 answers

How to use subdomain routing when a base path is present (and with base path appended only to specific routes)?

I have a nextjs (v13) app with basePath basePath: /basePath in nextjs.config NOT using a custom subdomain in production: https://DEPLOYED_URL/basePath/... pages/ index.tsx # route: DEPLOYED_URL/basePath subpath/index.tsx # route:…
dragonmnl
  • 14,578
  • 33
  • 84
  • 129
0
votes
0 answers

Vue static resource access with relative path

I am implementing an app using vue (my first one =) ). vite is my development environment tool. The problem is; resources are mapped with relative paths; "./ If I load the app via /, here no problem. If I try to load the app via /app then the…
Olgun Kaya
  • 2,519
  • 4
  • 32
  • 46
0
votes
1 answer

wordpress blog basepath

im working on a wordpress blog tryin to develop a multilanguage system. Whenever the user clicks on his language button the lang query parameter is added to the url Ex. localhost/my-blog?lang=es Everything works.The point is i have the blog main…
luca
  • 36,606
  • 27
  • 86
  • 125
0
votes
0 answers

Redis bitnami Helm Chart FAILED statefulset.yaml nil pointer evaluating interface {}.BasePath

I am very new to Kubernetes and cant seem to fix this issue. I am trying to install bitnami/redis helm chart but receive the following error: Error: INSTALLATION FAILED: template: redis/templates/replicas/statefulset.yaml:40:44: executing…
0
votes
1 answer

How to assign base path of API URL in config file?

I have an ASP.NET core REST API service with .net core 3.1 version. I want to create a common variable in appsettings.json or other config files for a particular part of the URL of API. For example, if my URL is like this…
0
votes
1 answer

How can I set webpack public path on each server request?

I have a webpack config for client and server, the server can access the bundled code such that I can call react.renderToString() to produce server-side-rendered content (and then content gets hydrated client side). The server is mounted in a…
Jon Lauridsen
  • 2,521
  • 5
  • 31
  • 38
0
votes
1 answer

What role does BASE_PATH play in Angular projects?

In order to integrate the "Angular-Typescript-Client-Generated" files generated by Angular in my Angular project, I have to provide the path of the Api (http://localhost:8080). The README file generated by Swagger says: Set service base path If…
user11903678
0
votes
1 answer

__webpack_public_path__ does not work after reloading the page

We are working on a Vue.js application which is built with webpack. The requirement is that our application not only has to be accessible via the base path / but also via a custom path, so that the application could be accessable next to other…
aoez
  • 301
  • 3
  • 15
0
votes
3 answers

java applet in drupal

i have a java applet in a form like following $form['applet'] = array( '#prefix' => '
', '#markup' => '

', '#suffix' => '
', ); where…
ayush
  • 14,350
  • 11
  • 53
  • 100
0
votes
2 answers

Zend 3 - Change template basepath

I am just starting to migrate some of my applications from Zend#1 to Zend#3. All is working fine, but regarding the views I've some trouble understanding the underlying concept. As the tutorials suggest my project layout is like this: module …
Sven
  • 132
  • 1
  • 10
0
votes
0 answers

Can't reach backend when url base is set

I have an application built using Express, Mongoose, React and Node. My application is hosted on a location which looks like the following: https://example.com/app_name which means that app_name is the base path for all of the static assets. I'm…
mikeyGlitz
  • 423
  • 3
  • 13
0
votes
1 answer

How to create a Custom Authorizer in AWS lambda that takes into account the Base Path Mapping from a Custom Domain Name in API Gateway?

Seems like the authorizer doesn't receive any info related to the base path. Even if you pass it in the context, there seems to be no way to add it to the…
0
votes
1 answer

problems with node paths in prod env

I have my first node server app running fine on localhost, but in a digitalocean (ubuntu) environment I can't get the paths to work. This line require("./lib/dbHelper").initilize(); Generate this error Error: Cannot find module './lib/dbHelper' at…
Matt Welander
  • 8,234
  • 24
  • 88
  • 138
0
votes
2 answers

How do I use basePath() in a view rendered out of a library?

I'm currently working at a library for Zend 2, that is among others supposed to render view scripts. The rendering is working fine and I'm also able to use any other helper within the view script, but the basePath() helper is throwing an exception…
StoryTeller
  • 1,673
  • 12
  • 30