Comments (11)
Please check...
from flow.
Hi, we have updated HttpRoute component.
Update:
- Update Total.js framework
- Flow package
- HttpRoute component
I belive that it will work.
from flow.
All of them have been tested with the latest version.
But it doesn't work yet.
There is no 'isUNIQUE' attribute under 'F.routes.web'.
[ { path: '/',
hash: 0,
id: null,
apiname: undefined,
name: '',
priority: 0,
sitemap: '',
schema: undefined,
novalidate: false,
workflow: undefined,
subdomain: null,
description: undefined,
controller: 'unknown',
owner: 'package_flow',
urlraw: '/',
url: [ '/' ],
param: [],
paramidindex: -1,
paramnames: null,
paramtypes: null,
flags: [ 'get' ],
flags2: { get: true },
method: 'GET',
execute: [Function],
length: 10240,
middleware: null,
timeout: 3000,
isGET: true,
isMULTIPLE: false,
isJSON: false,
isXML: false,
isRAW: false,
isENCRYPT: false,
isMOBILE: false,
isROBOT: false,
isMOBILE_VARY: false,
MEMBER: 0,
isWILDCARD: false,
isROLE: false,
isREFERER: false,
isHTTPS: false,
isHTTP: false,
isDEBUG: false,
isRELEASE: false,
isBOTH: true,
isXHR: false,
isUPLOAD: false,
isSYSTEM: false,
isPARAM: false,
isDELAY: false,
isDYNAMICSCHEMA: false,
isAPI: false,
CUSTOM: null,
options: undefined,
type: 'web',
parent: { route: [Circular] },
compare: [Function],
isUNIQUE: true,
currentViewDirectory: '' },
{ path: '/login',
hash: 1448719514,
id: null,
apiname: undefined,
name: '/login',
priority: 0,
sitemap: '',
schema: undefined,
novalidate: false,
workflow: undefined,
subdomain: null,
description: undefined,
controller: 'default',
owner: 'controller_default',
urlraw: '/login/',
url: [ 'login' ],
param: [],
paramidindex: -1,
paramnames: null,
paramtypes: null,
flags: [ 'get' ],
flags2: { get: true },
method: 'GET',
execute: [Function: view_login],
length: 10240,
middleware: null,
timeout: 3000,
isGET: true,
isMULTIPLE: false,
isJSON: false,
isXML: false,
isRAW: false,
isENCRYPT: false,
isMOBILE: false,
isROBOT: false,
isMOBILE_VARY: false,
MEMBER: 0,
isWILDCARD: false,
isROLE: false,
isREFERER: false,
isHTTPS: false,
isHTTP: false,
isDEBUG: false,
isRELEASE: false,
isBOTH: true,
isXHR: false,
isUPLOAD: false,
isSYSTEM: false,
isPARAM: false,
isDELAY: false,
isDYNAMICSCHEMA: false,
isAPI: false,
CUSTOM: null,
options: undefined,
type: 'web',
parent: { route: [Circular] },
compare: [Function],
isUNIQUE: true },
{ path: 'GET /test 5000,id:1620609715122',
hash: 46961985,
id: '1620609715122',
apiname: undefined,
name: '/test',
priority: 0,
sitemap: '',
schema: undefined,
novalidate: false,
workflow: undefined,
subdomain: null,
description: undefined,
controller: 'default',
owner: 'controller_default',
urlraw: '/test/',
url: [ 'test' ],
param: [],
paramidindex: -1,
paramnames: null,
paramtypes: null,
flags: [ 'get' ],
flags2: { get: true },
method: 'GET',
execute: [Function: handler],
length: 5120,
middleware: null,
timeout: 5000,
isGET: true,
isMULTIPLE: false,
isJSON: false,
isXML: false,
isRAW: false,
isENCRYPT: false,
isMOBILE: false,
isROBOT: false,
isMOBILE_VARY: false,
MEMBER: 0,
isWILDCARD: false,
isROLE: false,
isREFERER: false,
isHTTPS: false,
isHTTP: false,
isDEBUG: false,
isRELEASE: false,
isBOTH: true,
isXHR: false,
isUPLOAD: false,
isSYSTEM: false,
isPARAM: false,
isDELAY: false,
isDYNAMICSCHEMA: false,
isAPI: false,
CUSTOM: null,
options: undefined,
type: 'web',
parent: { route: [Circular] },
compare: [Function] } ]
/ : flow (action 200 OK)
/login : controllers/default.js (action 200 OK)
/test : flow's httproute (not action 404..)
from flow.
Can you send me a simple Flow project with that route and all node_modules
? I'll test it.
from flow.
Download "emptyproject-flow", add httproute, and add controller.
from flow.
If controllers/default.js is deleted, it works normally.
/test flow's httproute (action 200 OK)
If you add default.js to the controller, httproute.js does not work.
from flow.
Yes, I found a bug in Total.js framework. I have fixed it, can you test it on your side? $ npm install total4@beta
. This week will be a new official release. Thank you for the report!
from flow.
An error occurs
Cannot find module 'worker_threads'
my node -v
v10.24.0
Thank you
from flow.
Hmm, Total.js 4 needs Node.js +14. But it will work with +12 and worker threads are part of Node.js v12.
from flow.
OK I'll try.
from flow.
Confirmed
Thank You!!
from flow.
Related Issues (20)
- [Security] Stored XSS in platform name HOT 2
- Cannot install on a read only volume HOT 2
- add a sliding panel on flow.html HOT 1
- In a code component how do you "send" data from inside a loop HOT 3
- Designer render not correct after reload HOT 12
- Performance Issue with Large Flows HOT 16
- Exporting as a Component Performance HOT 5
- Message data values HOT 1
- How to use flow library with Angular 16? HOT 1
- Feature: Annotations on canavs. HOT 1
- Code Component Suggestion HOT 2
- Code Multiplexer Component HOT 4
- Function Component HOT 4
- Ques : Is there a way, we can just publish only flow and not designer section, so flow become read only HOT 2
- npm ERR! Missing script: "start" HOT 4
- Possible bug with messages HOT 5
- Docker Persistent storage example HOT 3
- Zooming bug
- can not localization HOT 1
- How would you use servicemode? HOT 3
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 flow.