Coder Social home page Coder Social logo

Comments (3)

rubystream avatar rubystream commented on July 21, 2024

The links to pages, like https://guidelines.openmobilealliance.org/enablers#lwm2m-event-log, are working as there is no longer need for base router instruction as the web site is under https://guidelines.openmobilealliance.org/ DNS.

from dmse-documentation.

jpradocueva avatar jpradocueva commented on July 21, 2024

It is working correctly, but I still don't understand why now is working and before it diddn't.

from dmse-documentation.

rubystream avatar rubystream commented on July 21, 2024

In order to serve the project page as GitHub pages of openmobilealliance account the router base was added that actualluy add the base element to the web page like in the following example:

<head>
    <base href="https://openmobilealliance.github.io/dmse-documentation/" />
</head>

Base href affects anything on the page that isn't using a complete Url for href or src. Anything with an absolute or relative path in href or src will be affected by this change. This includes: a, img, style, script, etc.
For this reason the anchor links were nor resolved as we expected and produced the wrong behaviour.

Once we introduced the custom DNS we removed the base element and anchor links now works as expected.

It's nothing to do with our code but with flow in browser interpretation of anchor links.

from dmse-documentation.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.