CSSes are no longer fetched from Frontend module
This commit is contained in:
@@ -3,12 +3,12 @@
|
||||
<head>
|
||||
<title>R11 MockedServices</title>
|
||||
<meta charset="utf-8">
|
||||
<link rel="stylesheet" href="http://localhost:8086/assets/css/common/fontello.css" type="text/css">
|
||||
<link rel="stylesheet" href="http://localhost:8086/assets/css/mock-service/main.css" type="text/css">
|
||||
<link rel="stylesheet" href="../css/fontello.css" type="text/css">
|
||||
<link rel="stylesheet" href="../css/main.css" type="text/css">
|
||||
<!-- <link rel="stylesheet" href="css/common.css" type="text/css"> -->
|
||||
<link rel="stylesheet" href="http://localhost:8086/assets/css/mock-service/common.css" type="text/css">
|
||||
<link rel="stylesheet" href="../css/common.css" type="text/css">
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
|
||||
<script src="../js/dyn_host.js"></script>
|
||||
<!-- <script src="../js/dyn_host.js"></script> -->
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
$(document).ready( function() {
|
||||
let links = document.getElementsByTagName("link")
|
||||
for (let i = 0; i < links.length; i++) {
|
||||
let oldStr = links[i].href.split("/")
|
||||
let endpoint = oldStr.slice(3).join("/")
|
||||
links[i].href = window.location.protocol + "//" + window.location.hostname + ":8086/" + endpoint
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user