-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwelcome.html
37 lines (37 loc) · 1.34 KB
/
welcome.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!DOCTYPE html>
<html>
<head>
<title>Welcome</title>
<script type="text/javascript" src="imageupload.js"></script>
</head>
<body>
<h1>Welcome</h1>
<center>
<form enctype="multipart/form-data">
<label>select image : </label>
<input type="file" id="image" accept="image/*"><br><br>
<button type="button" onclick="upload()">Upload</button>
</form>
</center>
<!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/8.2.1/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/6.0.1/firebase.js"></script>
<!-- TODO: Add SDKs for Firebase products that you want to use
https://firebase.google.com/docs/web/setup#available-libraries -->
<script>
// Your web app's Firebase configuration
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
var firebaseConfig = {
apiKey: "AIzaSyAsq2FT_7zQ4iyY5evm_5Tu28KzbrQvG_I",
authDomain: "test-1-5626c.firebaseapp.com",
projectId: "test-1-5626c",
storageBucket: "test-1-5626c.appspot.com",
messagingSenderId: "25172260807",
appId: "1:25172260807:web:5713c73dfbbba482e60be2",
measurementId: "G-8GTWJEXNVM"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
</script>
</body>
</html>