mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 13:35:54 +00:00
Fork expose
This commit is contained in:
@@ -12,7 +12,7 @@ use Symfony\Component\Console\Output\ConsoleOutput;
|
||||
|
||||
abstract class ServerAwareCommand extends Command
|
||||
{
|
||||
const DEFAULT_HOSTNAME = 'sharedwithexpose.com';
|
||||
const DEFAULT_HOSTNAME = 'bitinflow.dev';
|
||||
const DEFAULT_PORT = 443;
|
||||
const DEFAULT_SERVER_ENDPOINT = 'https://expose.dev/api/servers';
|
||||
|
||||
@@ -45,7 +45,7 @@ abstract class ServerAwareCommand extends Command
|
||||
/**
|
||||
* Try to find the server in the servers array.
|
||||
* If no array exists at all (when upgrading from v1),
|
||||
* always return sharedwithexpose.com.
|
||||
* always return bitinflow.dev.
|
||||
*/
|
||||
if (config('expose.servers') === null) {
|
||||
return static::DEFAULT_HOSTNAME;
|
||||
@@ -70,7 +70,7 @@ abstract class ServerAwareCommand extends Command
|
||||
/**
|
||||
* Try to find the server in the servers array.
|
||||
* If no array exists at all (when upgrading from v1),
|
||||
* always return sharedwithexpose.com.
|
||||
* always return bitinflow.dev.
|
||||
*/
|
||||
if (config('expose.servers') === null) {
|
||||
return static::DEFAULT_PORT;
|
||||
|
||||
2
builds/.gitignore
vendored
2
builds/.gitignore
vendored
@@ -1,2 +0,0 @@
|
||||
!.gitignore
|
||||
*
|
||||
BIN
builds/expose
BIN
builds/expose
Binary file not shown.
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "beyondcode/expose",
|
||||
"name": "bitinflow/expose",
|
||||
"type": "project",
|
||||
"description": "Create public URLs for local sites through any firewall and VPN.",
|
||||
"keywords": [
|
||||
@@ -7,9 +7,13 @@
|
||||
"tunnel",
|
||||
"ngrok"
|
||||
],
|
||||
"homepage": "https://sharedwithexpose.com",
|
||||
"homepage": "https://bitinflow.dev",
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
{
|
||||
"name": "René Preuß",
|
||||
"email": "rene@bitinflow.com"
|
||||
},
|
||||
{
|
||||
"name": "Marcel Pociot",
|
||||
"email": "marcel@beyondco.de"
|
||||
|
||||
@@ -13,7 +13,7 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'default' => \App\Commands\ShareCurrentWorkingDirectoryCommand::class,
|
||||
'default' => NunoMaduro\LaravelConsoleSummary\SummaryCommand::class,
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
||||
@@ -13,8 +13,8 @@ return [
|
||||
|
|
||||
*/
|
||||
'servers' => [
|
||||
'main' => [
|
||||
'host' => 'sharedwithexpose.com',
|
||||
'free' => [
|
||||
'host' => 'bitinflow.dev',
|
||||
'port' => 443,
|
||||
],
|
||||
],
|
||||
@@ -32,7 +32,7 @@ return [
|
||||
| if available.
|
||||
|
|
||||
*/
|
||||
'server_endpoint' => 'https://expose.dev/api/servers',
|
||||
'server_endpoint' => 'https://bitinflow.dev/api/servers',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
@@ -43,7 +43,7 @@ return [
|
||||
| or the servers endpoint above.
|
||||
|
|
||||
*/
|
||||
'default_server' => 'main',
|
||||
'default_server' => 'free',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
||||
@@ -16,7 +16,7 @@ The result looks like this:
|
||||
```json
|
||||
{
|
||||
"configuration":{
|
||||
"hostname": "sharedwithexpose.com",
|
||||
"hostname": "bitinflow.dev",
|
||||
"port": 8080,
|
||||
"database": "/home/forge/expose/database/expose.db",
|
||||
"validate_auth_tokens": false,
|
||||
|
||||
@@ -34,12 +34,12 @@ return [
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The expose server to connect to. By default, expose is using the free
|
||||
| sharedwithexpose.com server, offered by Beyond Code. You will need a free
|
||||
| bitinflow.dev server, offered by Beyond Code. You will need a free
|
||||
| Beyond Code account in order to authenticate with the server.
|
||||
| Feel free to host your own server and change this value.
|
||||
|
|
||||
*/
|
||||
'host' => 'sharedwithexpose.com',
|
||||
'host' => 'bitinflow.dev',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
||||
@@ -28,6 +28,6 @@ expose share https://my-local-site.dev
|
||||
|
||||
## Custom Subdomains ::pro
|
||||
|
||||
To make your life easier, Expose tries to share your local URLs using custom subdomains. This allows you to share your local URL `my-local-site.dev` as `my-local-site.us-1.sharedwithexpose.com`.
|
||||
To make your life easier, Expose tries to share your local URLs using custom subdomains. This allows you to share your local URL `my-local-site.dev` as `my-local-site.us-1.bitinflow.dev`.
|
||||
|
||||
By default, Expose uses a slugified version of the URL that you want to share, but you can also [choose your own custom subdomain](/docs/client/sharing#share-a-local-site-with-a-given-subdomain).
|
||||
By default, Expose uses a slugified version of the URL that you want to share, but you can also [choose your own custom subdomain](/docs/client/sharing#share-a-local-site-with-a-given-subdomain).
|
||||
|
||||
@@ -38,6 +38,6 @@ Expose 1.0 was limited to one server that it could connect to. In case of our fr
|
||||
|
||||
### White-Label Domain support
|
||||
|
||||
The 2.0 update of Expose finally allows you to register a custom white-label domain on the Expose servers, allowing you to use your own custom domain with the Expose service. This means that you no longer have to share `*.sharedwithexpose.com` URLs with your colleagues and clients, but you can now register your own domain and use that instead. All it takes is a simple CNAME DNS entry and you're ready to go!
|
||||
The 2.0 update of Expose finally allows you to register a custom white-label domain on the Expose servers, allowing you to use your own custom domain with the Expose service. This means that you no longer have to share `*.bitinflow.dev` URLs with your colleagues and clients, but you can now register your own domain and use that instead. All it takes is a simple CNAME DNS entry and you're ready to go!
|
||||
|
||||
White label domains get TLS/SSL certificates on the first connect to a URL automatically. This process takes a few seconds so that first page load can take a moment or even fail – try again after a few seconds and all additional requests will be fast until the certificate expires. Re-using the same (sub-)domain makes sure that your certificate stays available.
|
||||
|
||||
@@ -98,7 +98,7 @@ return [
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The expose server to connect to. By default, expose is using the free
|
||||
| sharedwithexpose.com server, offered by Beyond Code. You will need a free
|
||||
| bitinflow.dev server, offered by Beyond Code. You will need a free
|
||||
| Beyond Code account in order to authenticate with the server.
|
||||
| Feel free to host your own server and change this value.
|
||||
|
|
||||
|
||||
Reference in New Issue
Block a user