Skip to content

Commit fcd1093

Browse files
boubakerexo-swf
authored andcommitted
feat: Retrieve JS file using content hash instead of bundle version - MEED-7237 - Meeds-io/MIPs#134
This change will apply a modification made on portal module where the url doesn't finish by '.js' all time. Thus, this will remove the 'systematic' concatenation of js extension.
1 parent 5f3c932 commit fcd1093

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webapp/portlet/src/main/webapp/js/lib/require.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1594,7 +1594,7 @@ var requirejs, require, define;
15941594
}
15951595

15961596
//Join the path parts together, then figure out if baseUrl is needed.
1597-
url = syms.join('/') + (ext || '.js');
1597+
url = syms.join('/') + (ext || '');
15981598
url = (url.charAt(0) === '/' || url.match(/^[\w\+\.\-]+:/) ? '' : config.baseUrl) + url;
15991599
}
16001600

0 commit comments

Comments
 (0)