Skip to content

Commit

Permalink
Get rid of the # in the URL
Browse files Browse the repository at this point in the history
  • Loading branch information
Jawnnypoo committed May 23, 2022
1 parent 75cebbd commit 2944f9d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 2 additions & 0 deletions lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import 'package:commit451/app.dart';
import 'package:flutter/material.dart';
import 'package:url_strategy/url_strategy.dart';

void main() {
setPathUrlStrategy();
runApp(const App());
}
7 changes: 7 additions & 0 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.1"
url_strategy:
dependency: "direct main"
description:
name: url_strategy
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.0"
vector_math:
dependency: transitive
description:
Expand Down
5 changes: 3 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ environment:
sdk: ">=2.17.0 <3.0.0"

dependencies:
url_launcher: ^6.1.0
font_awesome_flutter: ^10.1.0
flutter:
sdk: flutter
url_launcher: ^6.1.0
font_awesome_flutter: ^10.1.0
url_strategy: ^0.2.0

dev_dependencies:
flutter_test:
Expand Down

0 comments on commit 2944f9d

Please sign in to comment.