Project

General

Profile

Actions

Bug #2633

open

Invalid background images urls when the '--deploy-path' param is used

Added by Alan Finley about 10 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
02/05/2014
Due date:
% Done:

0%

Estimated time:

Description

I deploy my app as a built-in server.

Here I add background image to some css class:

wApp->styleSheet().addRule(".myClass", "background: url(clear.png)");

The clear.png file is located in the docroot.

If I start my application with the --deploy-path param, my background image is not loading because my browser (Google Chrome) tries to find it using an invalid url:

http://localhost:10105/wt/clear.png

wt - is the deploy path.

The correct url is:

http://localhost:10105/clear.png

I use Wt 3.3.1

No data to display

Actions

Also available in: Atom PDF