Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
zce committed Apr 17, 2020
1 parent a4fdda2 commit 32da433
Show file tree
Hide file tree
Showing 11 changed files with 3,702 additions and 3,318 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# For more information about the properties used in
# this file, please see the EditorConfig documentation:
# http://editorconfig.org/
# https://editorconfig.org/

root = true

Expand Down
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,10 @@ language: node_js
node_js:
- lts/*

cache:
yarn: true

notifications:
email:
on_success: never
on_failure: change

script:
- yarn lint
- npm run lint
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2019 zce <[email protected]> (https://zce.me)
Copyright (c) 2020 zce <[email protected]> (https://zce.me)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ $ curl http://localhost:3000/backdoor/delay
[devdependency-image]: https://img.shields.io/david/dev/zce/locally-server.svg
[devdependency-url]: https://david-dm.org/zce/locally-server?type=dev
[style-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg
[style-url]: http://standardjs.com/
[style-url]: https://standardjs.com/
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const server = require('./lib')
const server = require('./server')

server.listen(3000, () => {
console.log('JSON Server is running: http://localhost:3000')
Expand Down
4 changes: 2 additions & 2 deletions now.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
],
"builds": [
{ "src": "public/index.html", "use": "@now/static" },
{ "src": "lib/index.js", "use": "@now/node" }
{ "src": "server/index.js", "use": "@now/node" }
],
"routes": [
{ "src": "/", "dest": "/public/index.html" },
{ "src": "/index.html", "status": 301, "headers": { "Location": "/" } },
{ "src": "/(.*)", "dest": "/lib/index.js" }
{ "src": "/(.*)", "dest": "/server/index.js" }
]
}
Loading

2 comments on commit 32da433

@vercel
Copy link

@vercel vercel bot commented on 32da433 Apr 17, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failed to assign a domain to your deployment due to the following error:

The domain uieee.com couldn't be found.

(Learn more or visit the non-aliased deployment)

@vercel
Copy link

@vercel vercel bot commented on 32da433 Aug 4, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.