Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Commit

Permalink
fix: run lint+format
Browse files Browse the repository at this point in the history
  • Loading branch information
betaboon committed Jun 30, 2021
1 parent 4179707 commit 2de50b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ npm install vite-web-test-runner-plugin --save-dev

```js
// web-test-runner.config.js
const vite = require('vite-web-test-runner-plugin');
const vite = require("vite-web-test-runner-plugin");

module.exports = {
plugins: [vite()],
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = function () {
});
await server.listen();
const port = server.config.server.port;
const protocol = server.config.server.https ? "https" : "http"
const protocol = server.config.server.https ? "https" : "http";
app.use((ctx, next) => {
ctx.redirect(`${protocol}://localhost:${port}${ctx.originalUrl}`);
return;
Expand Down

0 comments on commit 2de50b2

Please sign in to comment.