mirror of
https://github.com/knadh/listmonk.git
synced 2025-01-22 22:30:12 +08:00
bb340b8785
- Namespace all admin UI URLs behind `/admin/*`. This breaks the current admin UI URLs. - Make Vue output build assets to `frontend/dist/*` instead of `frontend/dist/frontend`. - Namespace Vue static assets to `/admin/static/*`. This commit reduces the cofusing and convoluted Vue+WebPack build URI and static path schemes. In addition, it removes ambiguity in URLs where non-UI URLs like `/public`, `/api`, `/webhooks` etc. were in the same name space as UI URLs like `/campaigns`, `/lists` etc. Now all UI URLs are behind `/admin/`, also simplifying security rules for proxies.
18 lines
673 B
HTML
18 lines
673 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
|
<link rel="icon" href="<%= BASE_URL %>static/favicon.png" />
|
|
<link href="https://fonts.googleapis.com/css?family=Inter:400,600" rel="stylesheet" />
|
|
<title><%= htmlWebpackPlugin.options.title %></title>
|
|
</head>
|
|
<body>
|
|
<noscript>
|
|
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
|
|
</noscript>
|
|
|
|
<div id="app"></div>
|
|
</body>
|
|
</html>
|