Comments (1)
Hi @royalgarter,
Good idea:
self.port = process.env.PORT || port || 8000;
But I must change it to:
self.port = port || process.env.PORT || 8000;
Because defined port by the user has a higher priority. I updated framework.run() (https://github.com/petersirka/partial.js/blob/master/changes.txt)
IMPORTANT:
E-shop has very old code and framework version too. Today you can write similar eshop with the new version of partial.js more easier and faster.
Solving of the problem with Heroku:
framework.run(http, false, process.env.PORT);
If you have some questions, please write me an e-mail. Thank you for your compliment 👍
from framework.
Related Issues (20)
- How to ignore U.request() causing self signed certificate in certificate chain error. HOT 3
- [feature] : How to create custom node (component) using python script HOT 4
- Serve Angular components views using TotalJS HOT 3
- How can I validate with schema.define the workflow options? HOT 8
- DBMS PostgreSQL doesn't catch an error HOT 1
- How to store information from a test to reuse it HOT 4
- Please help to fix Bug in REST COMPONENT HOT 6
- How to validate the response schema from unit testing method? HOT 5
- What is substitution for CONFIG method in total.js V4? HOT 4
- AUTH global function is recieving undefined in $.params HOT 4
- Trying to get in touch regarding a security issue HOT 2
- F.snapshotstats is not a function at FrameworkCacheProto.recycle HOT 1
- Total v4 is not sending operation object when using EXEC HOT 5
- How to hide X-Powered-By for security reason? HOT 1
- Timeout Set Up HOT 4
- How to onload in totaljs 4 HOT 2
- How to set CORS for public files? HOT 3
- Exporting the JSON HOT 6
- How to load config file and read config as independent library? HOT 4
- How to custom response 408 timeout on spesific route? HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from framework.