What does #/ means in url?

前端 未结 4 1603
执念已碎
执念已碎 2020-12-16 19:05

I am working on ROR web apps. My webpage url looks like below-

http://dev.ibiza.jp:3000/facebook/report?advertiser_id=2102#/dashboard

Here

4条回答
  •  盖世英雄少女心
    2020-12-16 19:47

    Providing another example

    Here's a request to github for the sourcecode of a java class

    https://github.com/spring-cloud/spring-cloud-consul/blob/master/spring-cloud-consul-discovery/src/main/java/org/springframework/cloud/consul/serviceregistry/ConsulServiceRegistry.java

    By appending this with "#L90" the web browser will make the same request, and then scroll to line 90 and highlight the code.

    https://github.com/spring-cloud/spring-cloud-consul/blob/master/spring-cloud-consul-discovery/src/main/java/org/springframework/cloud/consul/serviceregistry/ConsulServiceRegistry.java#L90

    Your web browser made the same request to the github server, but in the anchored case, performed the additional action of highlighting the selected line after the response was received.

提交回复
热议问题