Commit 4f6a9ce7 authored by hyeryung's avatar hyeryung

login check test

parent 04ae1b3b
Pipeline #20743 passed with stages
in 2 minutes and 7 seconds
// eslint-disable-next-line no-undef
fetch('/web/dms/api/auth/status')
.then((response) => {
if (response.url === 'https://swlab.bwg.co.kr/web/dms/login') {
const elements = document.getElementsByClassName('secret-nav')
while (elements.length > 0) {
elements[0].parentNode.removeChild(elements[0])
}
}
})
.catch((error) => {
console.error('Error checking login status:', error)
})
......@@ -32,6 +32,8 @@
<a class="navbar-item" href="https://swlab.bwg.co.kr/web/docs/bxcm/swlab-docs-bxcm/current/index.html">BXCM</a>
<a class="navbar-item" href="https://swlab.bwg.co.kr/web/docs/bxcp/swlab-docs-bxcp/current/index.html">BXCP</a>
<a class="navbar-item" href="https://swlab.bwg.co.kr/web/docs/bxi/swlab-docs-bxi/current/index.html">BXI</a>
<a class="navbar-item secret-nav" href="https://swlab.bwg.co.kr/web/docs/bxm/swlab-docs-bxm-s/current/concepts/overview.html">BXM Internal</a>
<a class="navbar-item secret-nav" href="https://swlab.bwg.co.kr/web/docs/bxcm/swlab-docs-bxcm-s/current/concepts/overview.html">BXCM Internal</a>
<a class="navbar-item" href="https://swlab.bwg.co.kr/web/docs/swlab-docs/current/ready-to-write/text-editor.html">Manual Guide</a>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment