Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

fix build, add license

Steven Teyc2b5b76dda2d
diff --git a/LICENSE.md b/LICENSE.md
index 162676cbef..5e11ed42e1 100644
--- a/LICENSE.md
+++ b/LICENSE.md
@@ -1,3 +1,16 @@
+Copyright (c) 2024-present Dub Technologies, Inc.
+
+Portions of this software are licensed as follows:
+
+All content that resides under the following directories of this repository (Commercial License) is licensed under the license defined in "[ee/LICENSE](<https://github.com/dubinc/dub/tree/main/apps/web/app/(ee)/LICENSE.md>)".
+
+- [apps/web/app/(ee)](<https://github.com/dubinc/dub/tree/main/apps/web/app/(ee)>)
+- [apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)](<https://github.com/dubinc/dub/tree/main/apps/web/app/app.dub.co/(dashboard)/%5Bslug%5D/(ee)>)
+
+All third party components incorporated into the Dub Software are licensed under the original license provided by the owner of the applicable component.
+
+Content outside of the above mentioned directories or restrictions above is available under the "AGPLv3" license as defined below.
+
GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
@@ -58,7 +71,7 @@ modification follow.
TERMS AND CONDITIONS
-0. Definitions.
+1. Definitions.
"This License" refers to version 3 of the GNU Affero General Public License.
diff --git a/apps/web/app/(ee)/LICENSE.md b/apps/web/app/(ee)/LICENSE.md
new file mode 100644
index 0000000000..fbccdb9ede
--- /dev/null
+++ b/apps/web/app/(ee)/LICENSE.md
@@ -0,0 +1,42 @@
+The Dub.co Commercial License (the “Commercial License”)
+Copyright (c) 2024-present Dub Technologies, Inc
+
+With regard to the Dub.co Software:
+
+This software and associated documentation files (the "Software") may only be
+used in production, if you (and any entity that you represent) have agreed to,
+and are in compliance with, the Dub.co Subscription Terms available
+at https://dub.co/legal/terms, or other agreements governing
+the use of the Software, as mutually agreed by you and Dub.co, Inc ("Dub.co"),
+and otherwise have a valid Dub.co Enterprise Edition subscription ("Commercial Subscription")
+for the correct number of hosts as defined in the "Commercial Terms ("Hosts"). Subject to the foregoing sentence,
+you are free to modify this Software and publish patches to the Software. You agree
+that Dub.co and/or its licensors (as applicable) retain all right, title and interest in
+and to all such modifications and/or patches, and all such modifications and/or
+patches may only be used, copied, modified, displayed, distributed, or otherwise
+exploited with a valid Commercial Subscription for the correct number of hosts.
+Notwithstanding the foregoing, you may copy and modify the Software for development
+and testing purposes, without requiring a subscription. You agree that Dub.co and/or
+its licensors (as applicable) retain all right, title and interest in and to all such
+modifications. You are not granted any other rights beyond what is expressly stated herein.
+Subject to the foregoing, it is forbidden to copy, merge, publish, distribute, sublicense,
+and/or sell the Software.
+
+This Commercial License applies only to the part of this Software that is not distributed under
+the AGPLv3 license. Any part of this Software distributed under the MIT license or which
+is served client-side as an image, font, cascading stylesheet (CSS), file which produces
+or is compiled, arranged, augmented, or combined into client-side JavaScript, in whole or
+in part, is copyrighted under the AGPLv3 license. The full text of this Commercial License shall
+be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+For all third party components incorporated into the Dub.co Software, those
+components are licensed under the original license provided by the owner of the
+applicable component.
diff --git a/apps/web/app/(ee)/partners.dub.co/(onboarding)/onboarding/online-presence/page.tsx b/apps/web/app/(ee)/partners.dub.co/(onboarding)/onboarding/online-presence/page.tsx
index 2c7972b7e8..06f545e56b 100644
--- a/apps/web/app/(ee)/partners.dub.co/(onboarding)/onboarding/online-presence/page.tsx
+++ b/apps/web/app/(ee)/partners.dub.co/(onboarding)/onboarding/online-presence/page.tsx
@@ -1,7 +1,7 @@
import { getSession } from "@/lib/auth";
+import { OnlinePresenceForm } from "@/ui/partners/online-presence-form";
import { prisma } from "@dub/prisma";
import { Suspense } from "react";
-import { OnlinePresenceForm } from "../../../../../ui/partners/online-presence-form";
import { OnlinePresencePageClient } from "./page-client";
export default function OnlinePresencePage() {
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/LICENSE.md b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/LICENSE.md
new file mode 120000
index 0000000000..6c3219feb6
--- /dev/null
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/LICENSE.md
@@ -0,0 +1 @@
+../../../../../(ee)/LICENSE.md
\ No newline at end of file