352
questions
0
votes
0
answers
22
views
Path / base-url issues in deploying Angular app
I'm deploying my first Angular app and I think I have problems of path or base url.
According to the server manager, the Web App is unique and serves multiple domains. Each domain is a unique USER ...
0
votes
1
answer
299
views
ios maui.net custom webview default BaseUrl path
i have this custom web-view as follow in :
MainPage.xaml
```
<controls:HybridWebView
x:Name="MyWebView"
HeightRequest="140"
HorizontalOptions="...
0
votes
2
answers
1k
views
Playwright change baseUrl only for specific set of specs
Hi I have 5 specs that my playwright runs. All of them are using the baseUrl which is set in my playwright.config.js BUT I would like 2 out of those 5 tests to run on a different baseUrl. Is that even ...
0
votes
0
answers
167
views
How to change the joget base url
I want to change the joget base url. For example, the default url is http://domian/jw. I want to all my joget url having a prefix with /url1/url2 like http://domian/url1/url2/jw/...
Any one can help ...
2
votes
0
answers
271
views
Nuxt 3 project running in a subdirectory trying to find assets in root instead of subdirectory
I could run Nuxt 3 in a subdirectory after setting the app.baseURL in nuxt.config.ts as mentioned in the official documentation.
https://nuxt.com/docs/api/configuration/nuxt-config#baseurl
It works ...
0
votes
0
answers
64
views
I am calling a third party API and it is giving null in the response
Hello everyone I had a problem while calling a Kiwi API in my API but I am facing a problem in URL part because my URL is not forming according to URL formed by The KIWI APP let me show you my code in ...
0
votes
0
answers
332
views
codeigniter 4 display error "invalid base URL" after reboot Apache
We are using Codeigniter 4. We restarted Apache (Apache/2.4.37) after found it was suddenly stop working, Site page is working fine before the Apache dead. After restart, all pages displayed same ...
5
votes
2
answers
3k
views
Playwright baseUrl in playwright.config.ts does not work in tests
I'm having an issue setting the baseURL for my project. By all tutorials that I watched and tried to replicate, setting the baseURL in the playwright.config.ts should do the trick. However, when I try ...
0
votes
1
answer
205
views
javascript convert hostname URL into full URL
I want to convert a domain name url (e.g : discord.com, google.com into a full URL (e.g : https://discord.com/, https://www.google.com/).
The problem is that I cannot know in advance if it will be ...
1
vote
0
answers
139
views
get the "instance_url" in the oauth2 salesforce response and use it in the webclient baseurl
I use a Bean webclient for my connection with salesforce
I created a configuration class with these 2 methods.
@Configuration
public class salesForceConfig {
@Bean
public ...
4
votes
1
answer
4k
views
How to set baseURL in Nuxt 3 in nuxt.config.ts instead of env
The documentation says:
By default, the baseURL is set to '/'.
However, the baseURL can be updated at runtime by setting the NUXT_APP_BASE_URL as an > environment variable.
Then, you can access ...
1
vote
1
answer
328
views
Use EditText value as baseUrl in Retrofit
I'm creating an app where the user has to insert a serverurl in an EditText field, and that url should be the baseUrl of the retrofit-request.
So, my code works as it should when i use a hardcoded ...
2
votes
1
answer
247
views
Part of my base url is removed upon adding a relative path
I have a base url https://dev.services.com/this/is/nothing/
and the path "max/status"
When I try to add "max/status" to the base url the part this/is/nothing/ is removed. This just ...
0
votes
1
answer
75
views
web.show_document uses different base url when used from java webstart
Forms 12.2.1.4. Using web.show_document I see different behavior when running the Forms using Java Plugin (JPI) or using Java Webstart (JWS).
Same form, when run using JPI, web.show_document tries to ...
0
votes
0
answers
744
views
CodeIgniter: accessing http://localhost/ needs to display codeigniter welcome page
I just installed CodeIgniter 3 in my wamp64/www/ directory. When I access http://localhost/CodeIgniter/ I can view the Welcome page of CI. I set my base_url = "http://localhost/CodeIgniter". ...
0
votes
0
answers
129
views
htaccess rewrite to always redirect to a domain with prefix
I have this project I maintain which I run in XAMPP and by default the url is set to http://localhost and it will take the folder project name inside htdocs to access the content. For instance I have ...
0
votes
0
answers
393
views
ASP.NET Core Mvc how to pass query params by default to named HttpClients?
I have a preconfigured base url for my named HttpClientFactory, but I also want to pass an api_key as query param to it by default, are there options to do it, or how would I do it in general?
//Just ...
1
vote
1
answer
316
views
CodeIgniter routes not accepting exceptions different from routing table
somehow I got stuck with my routing rules. I can't set a routing for a page that exceeds the routing rule. For example I have in my routes.php:
$route['(:any)/(:any)/(:any)'] = 'pages/view/$1/$2/$3';
$...
0
votes
1
answer
958
views
Cannot set dynamic baseURL for axios in React Native
I am trying to set the axios baseURL based on a variable defined inside a separate file in React Native. However, this doesn't seem to work.
The URL is defined inside a constants file in the following ...
0
votes
1
answer
1k
views
Magento 2 : how to getbaseurl for different website?
I have set the different Base Url for different website views, so How to get the baseUrl for a different websites with getBaseUrl() function.
~~ Thank you in advance!
0
votes
1
answer
3k
views
React native a common Base URL
How to maintain a BASE URL common and access anywhere within the project in react native.
Now currently i call api individual & need to simplify code structure.
1
vote
0
answers
641
views
How to Change Web Application Base URL via Nginx
I have the following basic Nginx location configured:
location /truenas/ {
proxy_pass https://192.168.1.111:8443/;
}
However, the web app that I'm trying to proxy isn't aware that the URL path now ...
4
votes
2
answers
11k
views
Playwright URL Config - Environment variables for multiple apps and different base urls
What would be the best way to configure and use urls for a project with
2x WebApps
3x Environments
... where we have a situation that looks like this as an example
Fruit App
baseurls:
dev.fruits....
0
votes
0
answers
191
views
BaseURL not workin in Chrome
I have a script that gets and displays part of an external website.
https://pentiger.com/wycieczki.php
<?php
$config['base_url'] = 'www.ampolinc.com/';
$curl = curl_init('http://www.ampolinc.com/...
0
votes
1
answer
705
views
I'm a Python novice trying to use a Free API from Open Weather but I receive {'cod': '404', 'message': 'Internal error'}. How can I fix this?
Type city name : New York
{'cod': '404', 'message': 'Internal error'}
The City Could Not Be Found?
Process finished with exit code 0
API key is free and activated, maybe I am using the wrong url?
...
0
votes
2
answers
634
views
Is there an HTML attribute dedicated to setting the base URL for all descendants of an element?
HTML provides the base element as a means of specifying the base URL for all relative links in a document:
div,ol {margin:0;}
<!DOCTYPE html>
<html lang="en">
<head>
<...
0
votes
1
answer
3k
views
How to change base URL in API Platform
I have a route
/books ,
and I wanna chage it, for example, to
/api/v1/books
So I added to my api_platform.yaml the following
prefix: api/v1/
And now it works fine, my endpoint available at /api/v1/...
0
votes
2
answers
392
views
Get base Url , remove manual
HOw do i get this base path?
http://localhost:1313/
my code right now is
var getUrl = window.location;
var baseUrl = getUrl .protocol + "//" + getUrl.host + "/" + getUrl....
1
vote
1
answer
622
views
how can I add base url and api_key header correcty in koin module retrofit correctly?
I am developing new android app where I want to add baseurl and api_key in koin module retrofit but I am confused
Ending Point: https://api-aws-eu-qa-1.auto1-test.com/v1/car-types/manufacturer?wa_key=...
-1
votes
1
answer
652
views
how to get the api host in the frontend ? REACT/AXIOS
const GetTask = async () => {
try {
const res = await axios.get('http://localhost:3000/daily-tasks')
dispatch({
type: GET_TASK,
payLoad: res.data
...
0
votes
2
answers
94
views
What could be wrong with my keypress event?
I'm trying to make a weather app, and use the API from openweathermap, I copied the baseurl from the web like this but it's not currently working...
const api = {
key:"...
0
votes
0
answers
30
views
"Something went wrong with message: BASE_URL should containts scheme (e.g. http://localhost/)"
When I Trying to create a Project on XAMPP Composer Mode and when i trying to Install with the command prompt:
C:\xampp\htdocs\tokonlen-master>php system/install [baseurl] [db-user]:[db-pass]@[db-...
2
votes
1
answer
640
views
Jekyll site.baseurl doesn't link to homepage when published via Github Page but worked in localhost
Everything's working fine when tested in localhost but after publishing to GitHub Pages, I noticed an annoying bug: clicking website's logo will always redirect to the page's link instead of the ...
6
votes
3
answers
16k
views
cypress Cypress.config.baseUrl is set correctly however getting error from cy.visit()
here is my test:
describe('settings page test', () =>{
it('tests navigation to settings page from login', () =>{
console.log(Cypress.config().baseUrl)
cy.visit(Cypress.config(...
0
votes
1
answer
177
views
how to get base_url() in controller codeigniter
I'm trying to make a button in my table. i'm using datatable, so I declare the row inside the controller. I want to give my button a href, so then when the button was pressed, it will link to another ...
2
votes
2
answers
1k
views
CypressIO tests to be executed in multiple URL
An Ecommerce website have different URL's for different countries. And each of these website have to be tested. We have set of automation scripts written in CYPRESSIO. Looking for ideas how these ...
0
votes
2
answers
42
views
Unable to set a initial page in php codeigniter
I'm new in php codeigniter, i need to modify a project but i cant set the base url it redirects me to an external url and i can't edit anything in the project.
for example if I enter the project path, ...
-1
votes
1
answer
140
views
Is it possible to use the require statement with BASE_URL?
I added the below code in my connection.php
define('BASE_URL', 'http://example.com/');
Now, Is it possible to use BASE_URL with require like
require('".BASE_URL."/connection.php');
Why I ...
0
votes
2
answers
2k
views
How to configure base URL for a static website
I have a static website - it has a few HTML, CSS, and js files. I can serve it locally, or I could publish it to a static website server like Netlify or Vercel.
Problem: I want to serve it at a base ...
1
vote
1
answer
2k
views
How to set Dynamic $baseURL on app->config->app.php using codeigniter 4
I got the error on IDE "Syntax error unexpected variable $_SERVER"
and app
"Parse error: syntax error, unexpected '$http_https' (T_VARIABLE), expecting function (T_FUNCTION) or const (...
5
votes
1
answer
14k
views
How do I get my base url to change in Vue/Cli
module.exports = {
publicPath: './src/pages/home/Homepage.vue',
pages: {
'Home': {
entry: 'src/pages/home/main.js',
template: 'public/index.html',
title: 'Home page',
...
1
vote
1
answer
396
views
Google Photos REST API “BASE_URL=dv” return "302 Moved" error
I was using Google Photos REST API to download my videos. Based on the documentations, I was using the below curl command with BASE_URL=dv parameters to get the video file and getting 302 Moved error ...
0
votes
2
answers
931
views
How to pass parameter with baseurl
In that case user going to update his details. But form submission is failed i want to redirect users to his form again.
I know this method is working.
redirect(base_url('Time_Mgt_Con/time_employee'));...
92
votes
18
answers
277k
views
How to get page URL or hostname in NextJs Project?
I want to get the page's full URL or site hostname like the image below on Static Site Generator.
I will try with window.location.hostname, but it doesn't work.
The error: window not defined.
0
votes
1
answer
369
views
How to load website offline from base url using Service Workers and Cache Api?
When you visit this web site https://bugs.stringmanolo.ga/index.html, while navigating around the main.js file is calling a method from ff.js file to cache a good amount of the resources. So next time ...
1
vote
2
answers
552
views
Cannot set "AppAsset baseurl" after settting "request baseUrl" in Yii2 advanced(php framework)
I'm using Yii2 advanced, which have frontend and backend, I'm using two domain to access frontend and backend respectively.
For some reason, I add a baseUrl(/admin) to backend, which will cause links ...
0
votes
1
answer
506
views
How to create a common api url which can be used in all components for all ajax post and get requests without using axios in vue3?
How to get the prefix 'https://myapp/' stored at one place for all the requests
$.get({
url : 'https://myapp/' + 'dashboard/',
data: JSON.stringify({
date: fromDate,
}),
...
0
votes
1
answer
4k
views
How to define the base url for the asp.net core app
I have one ASP.NET Core 3.1.0 web app and I am struggling to understand the url exposed by asp.net core.
I have one single controller
[Route("accounts")]
public class AccountsController : ...
7
votes
2
answers
2k
views
In a Blazor Application, how can I make the base URL different depending whether the application is executing on GitHub or my local machine?
I have a blazor application which is being hosted on GitHub pages.
This is the index.html:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta ...
1
vote
1
answer
2k
views
Codeigniter 4 - setting app.baseURL in .env file & controller sub-directories
I have following Codeigniter 4 project structure. I am having problem with using base_url() and setting app.baseURL in .env file properly. Following two questions are due to this same problem:
...