Comments (4)
@itildesk Do you want to run the same app on multiple ports, with the same routes?
If that is the case, then you can just update your cmd/app/main.go
file to run multiple servers with different ports
func main() {
app := actions.App()
appOne := servers.New()
appTwo := servers.New()
appOne.Addr = ":3000"
appTwo.Addr = ":3001"
if err := app.Serve(appOne, appTwo); err != nil {
log.Fatal(err)
}
}
from buffalo.
@pierredup thanks for your suggest,I followed what you said, the program has an additional access entrance, and the background process has not changed.
from buffalo.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment. Otherwise, this will be closed in 7 days.
from buffalo.
This issue was closed because it has been stalled for 30+7 days with no activity.
from buffalo.
Related Issues (20)
- Is this project still under development at all? HOT 4
- bug: Middleware.Skip doesn't work for non-POST routes that overlap a Resource HOT 2
- feature: Support for GraphQL HOT 2
- feature: Webpack -> Vite HOT 2
- bug: Add your company takes you to the home page again HOT 2
- Vulnerability of dependency "golang.org/x/net" HOT 2
- bug: i getting a issue while creating migration i use bigint for primary id autoincrement not apply in database table HOT 2
- Difficulties reading raw request body because it's already read HOT 2
- How can i remove the "ETag" response header which is set in gobuffalo fileServer ? HOT 4
- invalid go version '1.21.3': must match format 1.23 HOT 4
- I can't cross compile to linux HOT 4
- bug: Generated new app with vcs=none sets the directory is registered as a Git root. HOT 2
- feature: Update Docker Image to Support 1.21.X HOT 5
- bug: missing port in address in testing HOT 2
- bug: Restore ability to generate plugins HOT 2
- feature: Is this project active? HOT 4
- build error bug: level=error msg="Error: exit status 1"
- bug: cannot run executable found relative to current directory
- [Question] Is this framework in a stalled state? HOT 5
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 buffalo.