Skip to content

Commit 5eacba0

Browse files
committed
Fixed CONF.$root in Total.js proxy.
1 parent e0c3ab3 commit 5eacba0

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

changelog.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
- added `called {Number}` property per action in the `F.actions` collection
3838
- fixed `CONF.$root` functionality
3939
- improved `F.backup()` by adding internal ignore list for `.DS_Store` and `.gitignore` files
40+
- fixed `CONF.$root` in proxies
4041

4142
========================
4243
0.0.12

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "total5",
3-
"version": "0.0.13-12",
3+
"version": "0.0.13-13",
44
"description": "Total.js framework v5",
55
"main": "index.js",
66
"directories": {

routing.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -865,6 +865,9 @@ Proxy.prototype.remove = function() {
865865

866866
exports.proxy = function(url, target) {
867867

868+
// Apply proxy
869+
url = F.virtualpath(url);
870+
868871
if (!target) {
869872
let index = F.routes.proxies.TfindIndex('url', url.toLowerCase());
870873
if (index !== -1)

0 commit comments

Comments
 (0)