Skip to content

Commit

Permalink
replug dynamic.json
Browse files Browse the repository at this point in the history
  • Loading branch information
tonio committed Mar 16, 2021
1 parent 32f2a26 commit 194b8ad
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 23 deletions.
21 changes: 0 additions & 21 deletions CONST_create_template/geoportal/webpack.commons.js

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ import {toRadians} from 'ol/math.js';
import {listen} from 'ol/events.js';
import {isValidSerial} from '../utils.js';

import bootstrapApp from './bootstrap.js';

import '../../less/geoportailv3.less';

/* eslint-disable no-unused-vars */
Expand Down Expand Up @@ -1824,5 +1826,6 @@ MainController.prototype.isDisconnectedOrOffline = function() {

appModule.controller('MainController', MainController);

bootstrapApp(appModule);

export default MainController;
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang={{mainCtrl.lang}} ng-app="Appmain" ng-controller="MainController as mainCtrl" manifest="/geoportailv3.appcache">
<html lang={{mainCtrl.lang}} ng-controller="MainController as mainCtrl" manifest="/geoportailv3.appcache">
<head>
<title ng-bind-template="{{ mainCtrl.getCurrentTheme()|translate }}{{ ' - Geoportal Luxembourg'|translate}}"></title>
<meta charset="utf-8">
Expand All @@ -9,6 +9,8 @@
<meta name="apple-mobile-web-app-title" content="geoportail.lu">
<meta name="application-name" content="geoportail.lu">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="dynamicUrl" content="<%= htmlWebpackPlugin.options.vars.entry_point %>dynamic.json">
<meta name="interface" content="main">
<link rel="shortcut icon" href="<%=require("../../images/favicon.ico")%>" />

<% for (var css in htmlWebpackPlugin.files.css) { %>
Expand Down Expand Up @@ -457,7 +459,6 @@
<% for (var chunk in htmlWebpackPlugin.files.chunks) { %>
<script src="<%= htmlWebpackPlugin.files.chunks[chunk].entry %>"></script>
<% } %>
<script src="/dynamic.js?interface=main"></script>

<!-- Piwik -->
<script type="text/javascript">
Expand Down

0 comments on commit 194b8ad

Please sign in to comment.