This commit is contained in:
louiscklaw
2025-01-31 20:14:02 +08:00
parent 49e275d85d
commit 5c584709c4
706 changed files with 40207 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
import axios from 'axios';
const CheckSession = ({ session }) => {
return axios
.get(`/api/auth/check_session`, { headers: { session } })
.then(res => res['data'])
.catch(err => console.error(err));
};
export default CheckSession;