Skip to content

Commit

Permalink
Merge pull request #36 from dragonfruitnetwork/prod-update
Browse files Browse the repository at this point in the history
Update to production
  • Loading branch information
aspriddell authored Oct 13, 2022
2 parents 88d8c71 + b7af9dd commit c8da6da
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DragonFruit.Sakura/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public static async Task Main(string[] args)
#if DEBUG
o.ProviderOptions.RedirectUri = "https://localhost:5001/auth/login-callback";
#else
o.ProviderOptions.RedirectUri = "https://preview.dragonfruit.network/auth/login-callback";
o.ProviderOptions.RedirectUri = "https://dragonfruit.network/auth/login-callback";
#endif

o.ProviderOptions.DefaultScopes.Add("delegate");
Expand Down
Binary file added DragonFruit.Sakura/wwwroot/dragonfruit.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# DragonFruit Sakura
[![DragonFruit Discord](https://img.shields.io/discord/482528405292843018?label=Discord&style=popout)](https://discord.gg/VA26u5Z)

The future face of the DragonFruit website.
The new DragonFruit website.

## Status
While this is still being built, development is occuring at a steady pace and already has a number of completed features including Changelogs, Wiki, OnionFruit™ connection status and country list. Mobile usability is significantly better, but is not fully complete.
While this is currently online it is still being built. Most important differences compared to the old site are better layouts and mobile usability is significantly better.

Bug reports are being accepted (provided they provide enough detail to diagnose the issue), and can be opened using GitHub issues. Feature requests are welcome, but will be low priority until the main site has been built to match the legacy site (codenamed Yuna).

The latest build of the master site can be found at https://preview.dragonfruit.network
The latest release of the site can be found at https://dragonfruit.network

## Development
Sakura is built using ASP.NET Blazor WebAssembly using [MudBlazor](https://mudblazor.com/) as the component design provider. It runs almost entirely client-side with Yuna providing an API to provide data as needed.
Expand All @@ -20,7 +20,7 @@ To build/test/develop a copy of Sakura make sure you have the following prerequi
- If you're using Visual Studio 2022, ensure the **ASP.NET and web development** workload is installed
- Otherwise, ensure the `wasm-tools` workload is installed (`dotnet workload install wasm-tools`)
- An IDE you're comfortable with. We recommend using [JetBrains Rider](https://www.jetbrains.com/rider/) or [ReSharper](https://www.jetbrains.com/resharper/) and Visual Studio to access improved code formatting and styling suggestions.
- A modern browser. [CanIUse](https://caniuse.com/wasm) says 93% of browsers support WebAssembly, so this shouldn't be an issue
- A modern browser. [CanIUse](https://caniuse.com/wasm) says 95+% of browsers support WebAssembly, so this shouldn't be an issue
- You can access `localhost` on your computer. If you can't some pages won't work due to the warning below

**Warning:** CORS is enabled on our API to only allow requests from `localhost` (debugging) and `*.dragonfruit.network` (production).
Expand Down

0 comments on commit c8da6da

Please sign in to comment.