[fix] static file paths
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
*/
|
||||
|
||||
requirejs.config({
|
||||
baseUrl: './static/oscar/js',
|
||||
baseUrl: './static/themes/oscar/js',
|
||||
paths: {
|
||||
app: '../app'
|
||||
}
|
||||
|
||||
@@ -116,7 +116,7 @@ $(document).ready(function(){
|
||||
|
||||
// TODO hack
|
||||
// change default imagePath
|
||||
L.Icon.Default.imagePath = "./static/oscar/img/map";
|
||||
L.Icon.Default.imagePath = "./static/themes/oscar/img/map";
|
||||
|
||||
// init map
|
||||
var map = L.map(leaflet_target);
|
||||
|
||||
Reference in New Issue
Block a user