<!DOCTYPE html>
<html lang="en" xmlns:th=http://www.thymeleaf.org>
<head>
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width,initial-scale=1"/>
    <meta name="theme-color" content="#000000"/>
    <meta name="description" content="포항시 교통정보센터입니다"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <th:block th:include="/include/head.html"></th:block>
    <title>포항시 교통정보센터</title>
</head>
<body class="error-wrap">
    <div>
        <div onclick="moveMain()"></div>
        <div>500</div>
        <div>Internal Server Error</div>
        <div></div>
        <div onclick="moveMain()">메인으로</div>
    </div>
</body>
</html>

<script>
    function moveMain() {
        let moveDomain = "/";
        if (location.pathname.includes("/phits")) {
            moveDomain = "/phits";
        }
        location.href = moveDomain;
    }
</script>