* refactor: use fastify vite for the server by doing this we do not need to have local hacks for the routes. No local proxy needed. Everything just works. * fix: update the dockerfile build path * fix: update package.json * fix: fonts path
11 lines
199 B
JavaScript
11 lines
199 B
JavaScript
function getEmailDomain(email) {
|
|
const parts = email.split('@');
|
|
if (parts.length === 2) {
|
|
return parts[1];
|
|
} else {
|
|
return email;
|
|
}
|
|
}
|
|
|
|
export default getEmailDomain;
|