Closed lvxiaomu closed 7 years ago
When I visit http://localhost:8080/bimvie.ws-bimviews-0.0.57/?page=SelectServer,
Is not the code of <script>
in index.html
should no longer perform?
But my web app was implemented this part of the code.
Note the question mark (?) in the URL. It should still load index.html (if your webserver is configured to do so, which it probably is). index.html will have a look at the URL parameters and decide what else to load (using "ajax").
A simple "console.log" statement at the the top of the JavaScript in index.html should help you figure out if it's executed.
loadBimServerApi()
in the index.html
is defined as follows
function loadBimServerApi(callback) {}
but calling loadBimServerApi()
in the selectserver.html
as follows
loadBimServerApi("http://" + address, Global.notifier, Global.version, function(serverInfo){})
why?
Ah so you changed the "allowBimServerAddress" settings? It would have been useful if you mentioned that. Do you have multiple BIMservers running? The SelectServer functionality has not been updated to the new BIMserver API. I'll update it a some point.
Just updated it, basically replaced the whole lot with a redirect.
Thank you very much, after the update, already can run!
Hello, I'm sorry to disturb you,Could you give me a help? When I visit
http://localhost:8080/bimvie.ws-bimviews-0.0.57/?page=SelectServer
, the?page=SelectServer
loading the content of<script>
inindex.html
not inselectserver.html
,so it can't executeselectServer
. I don't know what's wrong here?