Skip to content

Commit

Permalink
Merge pull request #25 from GalaxyPay/dev
Browse files Browse the repository at this point in the history
allow remote connections
  • Loading branch information
acfunk authored Dec 6, 2024
2 parents 34c8ce2 + b53b2b6 commit 8fc4993
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,5 +139,5 @@ jobs:
uses: ncipollo/release-action@v1
with:
allowUpdates: true
tag: v2.0.0
tag: v2.0.1
artifacts: "Output/*"
2 changes: 1 addition & 1 deletion FUNC.iss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "FUNC"
#define MyAppVersion "2.0.0"
#define MyAppVersion "2.0.1"
#define MyAppPublisher "Galaxy Pay, LLC"
#define MyAppPublisherURL "https://galaxy-pay.com"
#define MyPublishPath "publish"
Expand Down
8 changes: 2 additions & 6 deletions FUNC/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
builder.Services.AddSystemd();
builder.WebHost.ConfigureKestrel(serverOptions =>
{
serverOptions.ListenLocalhost(3536);
serverOptions.ListenAnyIP(3536);
});

var app = builder.Build();
Expand All @@ -20,11 +20,7 @@
httpContext.Response.Headers[HeaderNames.CacheControl] = "no-cache, no-store, must-revalidate";
await next();
});
var allowedDomains = new[]
{
"http://localhost:3000",
};
app.UseCors(options => options.WithOrigins(allowedDomains).AllowAnyMethod().AllowAnyHeader());
app.UseCors(options => options.AllowAnyOrigin().AllowAnyMethod().AllowAnyHeader());
app.MapControllers();
app.UseFileServer();

Expand Down
2 changes: 1 addition & 1 deletion create-package.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rm -r Output

PKG=Output/func_2.0.0_amd64
PKG=Output/func_2.0.1_amd64

mkdir -p $PKG/lib/systemd/system
mkdir -p $PKG/opt/func
Expand Down
2 changes: 1 addition & 1 deletion deb/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: func
Version: 2.0.0
Version: 2.0.1
Section: base
Priority: optional
Architecture: amd64
Expand Down
2 changes: 1 addition & 1 deletion webui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "func-webui",
"version": "2.0.0",
"version": "2.0.1",
"scripts": {
"dev": "vite",
"build": "vue-tsc --noEmit && vite build",
Expand Down

0 comments on commit 8fc4993

Please sign in to comment.