Skip to content

Commit

Permalink
Migration CRA to VITE
Browse files Browse the repository at this point in the history
resolved merge conflicts
  • Loading branch information
shivarm authored and johnaohara committed Jan 24, 2024
1 parent 82e26f7 commit 6184266
Show file tree
Hide file tree
Showing 9 changed files with 3,657 additions and 17,561 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
@ApplicationScoped
public class RouteFilter {
private static final String[] PATH_PREFIXES = { "/api/", "/connect", "/dev" };
private static final String[] PATH_PREFIXES = { "/q/", "/api/", "/@" };
private static final Pattern FILE_NAME_PATTERN = Pattern.compile(".*[.][a-zA-Z\\d]+");

public void init(@Observes Router router) {
Expand Down
7 changes: 4 additions & 3 deletions horreum-web/public/index.html → horreum-web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
content="Web site created using vite"
/>
<!-- <link rel="apple-touch-icon" href="logo192.png" /> -->
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<link rel="manifest" href="/manifest.json" />
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Expand All @@ -29,6 +29,7 @@
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script type="module" src="/src/index.tsx"></script>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
Expand Down
Loading

0 comments on commit 6184266

Please sign in to comment.